Commit 9dae08f6 by BellCodeEditor

save project

parent 16def2ef
Showing with 3 additions and 4 deletions
......@@ -9,10 +9,8 @@ while True :# 请用input()实现用户输入账号、密码的功能
if username==name and password==userpassword :
print("登陆成功")
break
if name!=username:
elif name!=username:
print("名字错")
continue
if password!=userpassword:
print("密码错")
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