第四篇

print("      0      ")
print("     000     ")
print("    00000    ")
print("   0000000   ")
print("    00000    ")
print("     000     ")
print("      0      ")

  

a = input("请输入用户数字a")
b = input("请输入用户数字b")
c = int(a) + int(b)
print(c) 

  

while True:
    a = random.randint(1,6)
    if a % 2 == 0:  
        print("点数是偶数")
    else:
        print("点数是奇数")

  

  


while True: a = random.randint(1,6) if a == 1: print("妈妈扫地") elif a == 2: print("爸爸扫地") elif a == 3: print("我扫地")

  

a=0
while a < 10: print(1) a += 1

  

a=1

while True:
    print(a)
    a += 1 

  

你可能感兴趣的:(第四篇)