Commit 5360c04e by BellCodeEditor

save project

parent 68a6fbb8
Showing with 3 additions and 1 deletions
...@@ -5,8 +5,9 @@ while True: ...@@ -5,8 +5,9 @@ while True:
password = input() password = input()
if name != eusernam if name != eusernam
print("账号错误!") print("账号错误!")
continue
if password != eusernam if password != eusernam
print("密码错误!请重新输入") print("密码错误!请重新输入")
if name == username and notpassword == userpassword if name == username and notpassword == userpassword
print("欢迎来到贝尔编程!") print("欢迎来到贝尔编程!")
break break
\ 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