Commit 5fe95db5 by BellCodeEditor

save project

parent 3c788ec8
Showing with 3 additions and 3 deletions
......@@ -2,13 +2,14 @@ a="abc"
b="123"
while True:
c=input("名字:")
if a!=c:
print("名字错误")
continue
d=input("密码:")
if a==c and b==d:
print("正常")
break
if a!=c:
print("名字错误")
if b!=d:
print("密码错误")
print("欢迎登录")
\ 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