期中考试成绩出来了。分数在70~80是等级B。
#多输入 空格分割
a = input()
b = a.split()
c = list(map(int, b))
print(c)
a = input()
b = a.split()
c = list(map(int, b))
print(c)
等级B
描述
期中考试成绩出来了。分数在70~80是等级B。
输入
请输入一个整数表示成绩,
输出
如果属于等级B输出yes,否则输出no
输入样例 1
72
输出样例 1
yes
输入样例 2
66
输出样例 2
no
a = int(input())
if (a>=70 and a<=80):
print('yes')
else:
print('no')
a = int(input())
if (a!=0 and a%2==0):
print('yes')
else:
pass