if True: print("True") else : print("false") print("end") import random score = 87 if score >= 90 and score <= 100: print("本次考试,等级为A") elif score >= 80 and score < 90: print("本次考试,等级为B") else: print("本次考试,等级为E") import random #引入一个随机库 x = random.randint(0,2) print(x)