Commit 73caba94 by BellCodeEditor

save project

parent 2b55a9bd
Showing with 2 additions and 5 deletions
...@@ -5,11 +5,8 @@ while True: ...@@ -5,11 +5,8 @@ while True:
password=input("請輸入密碼:") password=input("請輸入密碼:")
if name==username and password==userpassword : if name==username and password==userpassword :
break break
if name!=username: elif name!=:username
print("請重新輸入")
continue
if password!=userpassword:
print("請重新輸入")
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