Commit cb69cf3a by BellCodeEditor

save project

parent 94d2c4db
Showing with 2 additions and 1 deletions
username = "panda" username = "pandapanda"
userpassword = "123456" userpassword = "123456"
while True: while True:
n = input("请输入用户名:") n = input("请输入用户名:")
...@@ -8,6 +8,7 @@ while True: ...@@ -8,6 +8,7 @@ while True:
break break
if n!=username: if n!=username:
print("用户名错误!") print("用户名错误!")
continue
if p!=userpassword: if p!=userpassword:
print("密码错误!") print("密码错误!")
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