function test4() { for (var score of Range(b2:b17)){ //遍历选中的列数据 if(score.value2>=90){ //判断成绩是否大于90 Console.log("优秀") //判断大于90为优秀 }else{ Console.log("普通") //判断不大于90为普通 } } }
标签:语句,...,判断,Console,log,else,score,90 From: https://www.cnblogs.com/988MQ/p/16861450.html