Commit 10977658 by BellCodeEditor

save project

parent 18f998b7
Showing with 3 additions and 2 deletions
...@@ -11,10 +11,11 @@ while True: ...@@ -11,10 +11,11 @@ while True:
break break
if name!=username: if name!=username:
print("用户名错了") print("用户名错了")
print("警告:你还有"+str(a)+"次机会") continue
print("警告:你还有"+"str(a)+""次机会")
if password!=userpassword: if password!=userpassword:
print("用户密码错了") print("用户密码错了")
print("警告:你还有"+str(a)+"次机会") print("警告:你还有"+"str(a)"+"次机会")
else: else:
print("次数用完来我公司") print("次数用完来我公司")
exit() exit()
......
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