Commit 6f79b253 by BellCodeEditor

save project

parent 5c9b87bd
Showing with 23 additions and 0 deletions
i = 3
u = 7539518426
r = 'abc'
while True:
if i>0:
n = input("请输入密码:")
p = input("请输入用户名:")
i -= 1
if n == u and p == r:
print("登陆成功:")
break
if n != u:
print("密码错误:")
print("还可以收入" + str(i))
continue
if p != r:
print("用户名错误:")
else:
print("以被锁")
exit()
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