Commit 8f2e227f by BellCodeEditor

save project

parent f7e737da
Showing with 2 additions and 1 deletions
...@@ -11,10 +11,11 @@ while True: ...@@ -11,10 +11,11 @@ while True:
break break
elif name!=username: elif name!=username:
print("用户名错误!请重新输入") print("用户名错误!请重新输入")
print("还剩"+i+"次")
continue continue
elif password!=userpassword: elif password!=userpassword:
print("把密码记牢了再来,浪费本大爷时间!") print("把密码记牢了再来,浪费本大爷时间!")
else: else:
exit exit()
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