Commit 3e50f163 by BellCodeEditor

save project

parent b4d7e1a9
Showing with 8 additions and 5 deletions
i=10000000000000000000000000000000000000000000000000000 i=5
username = "python" username = "123"
userpassword = "1029384756" userpassword = "123"
while True: while True:
if i>0: if i>0:
name = input("请输入用户名:") name = input("请输入用户名:")
...@@ -11,10 +11,12 @@ while True: ...@@ -11,10 +11,12 @@ while True:
break break
if name != username: if name != username:
print("没加鸡翅") print("没加鸡翅")
print("提示:还有"+str(i)+"次吃鸡次数")
continue continue
if password != userpassword if password != userpassword:
print("没加鸡腿") print("没加鸡腿")
else: print("提示:还有"+str(i)+"次吃鸡次数")
else:
print("鸡被别人吃了") print("鸡被别人吃了")
exit() exit()
print("大吉大利,今晚吃鸡") print("大吉大利,今晚吃鸡")
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment