python 彩票系统

import random
num = int(input("请输入您的号码:"))

res = random.choice(range(100)) + 1


#判断是否中将 num == res
if num == res:
print("恭喜您中了500万")














posted @ 2019-12-26 10:06  i勤能补拙  阅读(982)  评论(0编辑  收藏  举报