Commit 25508a8f by BellCodeEditor

save project

parent a6f10a30
Showing with 15 additions and 0 deletions
a="python"
b="12345"
while True:
n=input("用户名:")
p=input("密码:")
if n==a and p==b:
print("成功!")
break
if n != a:
print("名错误!")
continue
if p != b:
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