Commit 39e463e9 by BellCodeEditor

save project

parent 4950bec6
Showing with 5 additions and 9 deletions
......@@ -3,14 +3,10 @@ userpassword = "123456"
while True:
name = input("用户名:")
password = input("密码:")
if name != username:
print("用户名")
if name == username and password == userpassword:
print("成功!")
break
if password != usepassword:
print("密码")
\ No newline at end of file
elif name != username or password != userpassword:
print("jjj")
else:
print("jkl")
\ 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