Commit 3e50f163 by BellCodeEditor

save project

parent b4d7e1a9
Showing with 18 additions and 15 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("请输入用户名:")
password = input("请输入密码:") password = input("请输入密码:")
i-=1 i-=1
if name == username and password == userpassword: if name == username and password == userpassword:
print("成功进入吃鸡") print("成功进入吃鸡")
break break
if name != username: if name != username:
print("没加鸡翅") print("没加鸡翅")
continue print("提示:还有"+str(i)+"次吃鸡次数")
if password != userpassword continue
print("没加鸡腿") if password != userpassword:
else: print("没加鸡腿")
print("鸡被别人吃了") print("提示:还有"+str(i)+"次吃鸡次数")
exit() else:
print("大吉大利,今晚吃鸡") print("鸡被别人吃了")
exit()
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