我用python也编过这个项目
import random print("\033[34;40m") while True: a = random.randint(1,10) if a == 1: print("1",end="") if a == 2: print("2",end=" ") if a == 3: print("3",end="") if a == 4: print("4",end=" ") if a == 5: print("5",end=" ") if a == 6: print("6",end="") if a == 7: print("7",end=" ") if a == 8: print("8",end="") if a == 9: print("9",end=" ") if a == 10: print("0",end=" ")
已有账号? 立即登录
哦