Commit 030328e5 by BellCodeEditor

save project

parent 7623bae2
Showing with 6 additions and 0 deletions
......@@ -3,6 +3,12 @@ userpassword = "123456"
while Ture:
name = input("请输入用户名")
password = input("请输入密码")
if name != "python":
print("用户名错误")
continue
if password != "123456":
print("密码错误")
continue
if name == username and password == userpassword:
print("登入成功")
break
......
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