Commit 703f3a9d by BellCodeEditor

save project

parent e9f0eba3
Showing with 2 additions and 4 deletions
i=0
i=3
username = "python"
userpassword = "123456"
while True:
......@@ -6,7 +6,7 @@ while True:
name = input("请输入用户名:")
if name != username:
print("用户名错误!请重新输入")
i=i+1
i-=1
else:
password = input("请输入密码:")
if password != userpassword:
......@@ -14,5 +14,4 @@ while True:
else:
print("登录成功")
break
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