BC51 及格分数
思路:
step1:输入分数,如果大于等于60,输出Pass;否则,输出Fail;
代码如下:
while True:
try:
n = int(input())
if n >= 60:
print('Pass')
else:
print('Fail')
except:
break
while True:
try:
n = int(input())
if n >= 60:
print('Pass')
else:
print('Fail')
except:
break