Commit 3e50f163 by BellCodeEditor

save project

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