Commit 36f29a39 by BellCodeEditor

auto save

parent 7b1dd1b4
Showing with 4 additions and 8 deletions
u = "python"
w = "123456"
while True:
if i==3:
n = input("请输入用户名:")
p = input("请输入密码:")
n = input("请输入用户名:")
p = input("请输入密码:")
if name == username and password == userpassword:
print("登录成功!")
break
if n != u:
print('用错')
continue
i-=1
if p != w:
print('密错')
i-=1
print("欢迎来到贝尔编程!")
\ No newline at end of file
print("欢迎来到贝尔编程!")
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