Commit 57a22156 by BellCodeEditor

save project

parent d74e8485
Showing with 3 additions and 1 deletions
...@@ -2,12 +2,14 @@ username="python" ...@@ -2,12 +2,14 @@ username="python"
userpassword="123567" userpassword="123567"
while True: while True:
name=input("名字") name=input("名字")
continue
password=input("密码") password=input("密码")
if name==username and password==userpassword if name==username and password==userpassword
print("成功") print("成功")
break break
if name!= username
print("错")
if username!=password: if username!=password:
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