Commit 36f29a39 by BellCodeEditor

auto save

parent 7b1dd1b4
Showing with 4 additions and 8 deletions
u = "python" u = "python"
w = "123456" w = "123456"
while True: while True:
if i==3: n = input("请输入用户名:")
n = input("请输入用户名:") p = input("请输入密码:")
p = input("请输入密码:")
if name == username and password == userpassword: if name == username and password == userpassword:
print("登录成功!") print("登录成功!")
break break
if n != u: if n != u:
print('用错') print('用错')
continue continue
i-=1
if p != w: if p != w:
print('密错') print('密错')
i-=1
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