Commit acc9d127 by BellCodeEditor

save project

parent 3cac18c1
Showing with 5 additions and 6 deletions
......@@ -3,11 +3,11 @@ userpassword = "1"
while True:
name = input("请输入用户名:")
password = input("请输入密码:")
if name != username:
continue
if name != username and passwork != userpasswork:
print("登录成功")
break
elif name != username:
print("账户输入错误!")
if passwork != userpassword:
continue
else:
print("密码输入错误!")
break
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