题解 | #牛牛的抽奖游戏#
牛牛的抽奖游戏
https://www.nowcoder.com/practice/9c9300f7ecbb41f49c3e8727b4948038
import sys
key=1
for line in sys.stdin:
a = line
if int(a)==3:
key=0
if key==0:
print("Congratulations!")
else:
print("Give up!")
牛牛的抽奖游戏
https://www.nowcoder.com/practice/9c9300f7ecbb41f49c3e8727b4948038
import sys
key=1
for line in sys.stdin:
a = line
if int(a)==3:
key=0
if key==0:
print("Congratulations!")
else:
print("Give up!")
相关推荐