Commit b1673aad by BellCodeEditor

save project

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