中国大学MOOC:阅读下面代码,选择正确的输出结果:grade=97ifgrade<60:printEelifgrade>=60:printDelifgrade>=70:printCelifgrade>=80:printBelifgrade>=90:printA
举一反三
- 阅读下面代码,选择正确的输出结果___。 grade=90 ifgrade>=60: print('D') elifgrade>=70: print('C') elifgrade>=80: print('B') elifgrade>=90: print('A')
- 中国大学MOOC: 阅读下面代码,选择正确的输出结果_______________。grade = 90if grade >= 60: print( D)elif grade >= 70: print( C)elif grade >= 80: print( B)elif grade >= 90: print( A)
- 下面代码的输出结果是()。 <?php $score=87; if($score>=90 && $score<=100){$grade="优秀";} if($score>=80){$grade="良好";} if($score>=70){$grade="一般";} if($score>=60){$grade="及格";} else{$grade="不及格";} echo $grade; ?>
- 阅读下面代码,选择正确的输出结果______________... >= 90: print( A)
- 阅读下面代码: if a>=60: grade='D' elif a>=70: grade='C' elif a>=80: grade='B' elif a>=90: grade='A' else: grade='E' 若a的值分别为81和53,则对应的grade分别为多少? A: B,E B: C,E C: D,D D: D,E