Commit 97f05caf by BellCodeEditor

save project

parent 4aff2250
Showing with 3 additions and 1 deletions
......@@ -7,12 +7,13 @@ while i>0:
if a==username and b==userpassword:
break
print('欢迎来到贝尔编程')
print('输入错误')
if a !=username:
print('账号错误')
print('温馨提示:你还有'+str(i)+'次机会')
continue
elif b !=userpassword:
print('密码错误')
i-=1
print('温馨提示:你还有'+str(i)+'次机会')
print('账号锁定')
\ No newline at end of file
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