Commit 7b1dd1b4 by BellCodeEditor

auto save

parent 38d5983f
Showing with 5 additions and 2 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:
...@@ -9,7 +10,9 @@ while True: ...@@ -9,7 +10,9 @@ while True:
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 \ 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