Commit d455a1e8 by BellCodeEditor

save project

parent 0e9a64b8
Showing with 2 additions and 1 deletions
i=3 i=3
username = python username = "python"
userpassword = "123456" userpassword = "123456"
while True: while True:
if i>0: if i>0:
...@@ -12,6 +12,7 @@ while True: ...@@ -12,6 +12,7 @@ while True:
else: else:
i-=1 i-=1
print("密码错误!请重新输入") print("密码错误!请重新输入")
print("温馨提示:"+str(i)+"输入机会")
else: else:
print("用户名错误!请重新输入") print("用户名错误!请重新输入")
else: else:
......
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