def score(num):
if num>=90:
print('A')
elif num>=80:
print('B')
elif num>=70:
print('C')
elif num>=60:
print('D')
else:
print('D')
s = score(63)
print(s)
def score(num):
if num>=90:
print('A')
elif num>=80:
print('B')
elif num>=70:
print('C')
elif num>=60:
print('D')
else:
print('D')
s = score(63)
print(s)
本文标题:if
本文链接:https://www.haomeiwen.com/subject/ckitmftx.html
网友评论