Commit dc92ddac by BellCodeEditor

save project

parent b9557faf
Showing with 2 additions and 0 deletions
...@@ -11,10 +11,12 @@ while True: ...@@ -11,10 +11,12 @@ while True:
if username!=name : if username!=name :
print("用户名错误") print("用户名错误")
i-=1 i-=1
print("你还有"+str(i)+"次机会")
continue continue
if password!=userpassword: if password!=userpassword:
print("密码错误,你真有用") print("密码错误,你真有用")
i-=1 i-=1
print("你还有"+str(i)+"次机会")
continue continue
else: else:
print("你玩完了") print("你玩完了")
......
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