Commit 9d955d7b by BellCodeEditor

save project

parent b810c294
Showing with 23 additions and 0 deletions
username = "banana"
userpassword = "114514"
i=3
while True:
if i>0:
i-=1
name = input("请输入您最♂爱的香蕉:")
password = input("请输入密码:")
if name != username:
print("名♂字错误")
print("你还有"+str(i)+"次机会")
else:
if userpassword!=password:
print("密♂码错误")
print("你还有"+str(i)+"次机会")
else:
print("全部对力(喜)")
break
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