标签:class == 偶数 print highlight 爸爸 pytho 比较大小 int
input("12") print(12) print(" 0 ") print(" 000 ") print(" 00000 ") print(" 0000000 ") print(" 00000 ") print(" 000 ") print(" 0 ") a=input() b=input() c=int(a)+int(b) print(c) import random while True: a = random.randint(1,6) if a % 2 == 0: print("点数是偶数") else: print("点数是奇数") import random while True: a = random.randint(1,3) if a == 1: print("妈妈扫地") elif a == 2: print("爸爸扫地") elif a == 3: print("我扫地") while a <= 100: if a % 2 == 0: print(a) a += 1 import random while True: a = random.randint(1,15) user = input("请输入比较大小的数字:") if a > int(user): print("数字太小了") elif a < int(user): print("数字太大了") else: print("恭喜你猜对了")
标签:class == 偶数 print highlight 爸爸 pytho 比较大小 int
原文地址:https://www.cnblogs.com/w11111111111/p/12221868.html