python_study_6-条件语句

if...else...条件语句

练习:学习成绩>=90分的同学用A表示,60-89的分之间的用B表示, 60分一下的用C表示

#score = int(input('请输入分数:'))
score = 90
if score >= 90:
print('A')
elif score <= 89 and score >= 60:
print('B')
else:
print('C')

while 条件语句 

for循环

原文地址:https://www.cnblogs.com/hz-jelly/p/10560915.html