单选题:下列程序运行输出结果为_______。
下列程序运行输出结果为_______。@[](2)
def if_test(score):
if(score>=90):
print('Excellent')
elif(score>=80):
print('Very Good')
elif(score>=70):
print('Good')
elif(score>=60):
print('Pass')
else:
print('Fail')
if_test(88)
A. Fail
B. Very Good
C. Excellent
D. Good
答案:B
def if_test(score):
if(score>=90):
print('Excellent')
elif(score>=80):
print('Very Good')
elif(score>=70):
print('Good')
elif(score>=60):
print('Pass')
else:
print('Fail')
if_test(88)
A. Fail
B. Very Good
C. Excellent
D. Good
答案:B