from random import *
while True:
print("退出抽奖请按:N")
luckNum = randint(1,5)
num=input("请输入1~5的任一个数字进行抽奖")
print("中奖数字为%d"%luckNum)
if int(num) == luckNum:
print("恭喜您喜中一等奖")
else:
print("本轮未中奖再接再厉!")
if num == "N":
print("退出抽奖程序")
from random import *
while True:
print("退出抽奖请按:N")
luckNum = randint(1,5)
num=input("请输入1~5的任一个数字进行抽奖")
print("中奖数字为%d"%luckNum)
if int(num) == luckNum:
print("恭喜您喜中一等奖")
else:
print("本轮未中奖再接再厉!")
if num == "N":
print("退出抽奖程序")