Commit 39e463e9 by BellCodeEditor

save project

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