#省略代码不可行,错误的示范
grade =int(input())
if grade >=90:
print('A')
elif grade >=70:
print('C')
elif grade >=80:
print('B')
elif grade >=60:
print('D')
elif grade <60:
print('E')
-------------------------------------------------------------
for iin range(1, 101):
if(i %5 and i %7) ==0:
print(i)
输出1到100所有能被5或者7同时整除的整数
网友评论