Commit 1ea3ac97 by BellCodeEditor

save project

parent 89d8126e
Showing with 5 additions and 3 deletions
user='python' user='python'
ps='12345' ps='12345'
a=input("user:")
b=input("ps:")
while True: while True:
a=input("user:")
b=input("ps:")
if a==user and b==ps: if a==user and b==ps:
break break
if a!=user or b!=ps: if a!=user or b!=ps:
print("输入信息错误!") print("输入信息错误!")
continue a=input("user:")
b=input("ps:")
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