Commit 9bfc88df by BellCodeEditor

save project

parent 572758f9
Showing with 4 additions and 0 deletions
...@@ -5,6 +5,10 @@ while True: ...@@ -5,6 +5,10 @@ while True:
password=input("请输入密码:") password=input("请输入密码:")
if name==username and password==userpassword: if name==username and password==userpassword:
print("输入正确") print("输入正确")
break
if name!=username:
print("输入错误")
if password!=userpassword:
print("输入错误") print("输入错误")
print("欢迎来到WC") print("欢迎来到WC")
......
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