Commit 87480675 by BellCodeEditor

save project

parent 59e5a978
Showing with 3 additions and 2 deletions
...@@ -2,9 +2,10 @@ ue = "python" ...@@ -2,9 +2,10 @@ ue = "python"
us= "123456" us= "123456"
while True: while True:
name = input("请输入用户名:") name = input("请输入用户名:")
password = input("请输入密码:")us password = input("请输入密码:")
if name == u and password == :us if name == ue and password == us:
print("密码正确")
break break
if name != ue: if name != ue:
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