Commit ecf92916 by BellCodeEditor

save project

parent 28ba2532
Showing with 6 additions and 4 deletions
...@@ -6,8 +6,9 @@ while True: ...@@ -6,8 +6,9 @@ while True:
if name == username and password == userpassword: if name == username and password == userpassword:
print("你给老子输入成功了!") print("你给老子输入成功了!")
break break
else name != username: elif name != username:
print("nmsl!用户错了!") print("nmsl!用户错了!")
else password != userpassword: else:
print("nmsl!密码错了!") password != userpassword:
print("nmsl!密码错了!")
print("welcome nmsl !") print("welcome nmsl !")
\ 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