Commit b6156aee by BellCodeEditor

save project

parent b8896fad
Showing with 2 additions and 1 deletions
i=3 i=4
username = "python" username = "python"
userpassword = "123456" userpassword = "123456"
while True: while True:
...@@ -11,6 +11,7 @@ while True: ...@@ -11,6 +11,7 @@ while True:
break break
if username != name: if username != name:
print("用户名错误") print("用户名错误")
print("垃圾提示:还有"+str(i)+"次机会")
continue continue
if userpassword != password: if userpassword != password:
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