Commit 1189a89e by BellCodeEditor

save project

parent 345da014
Showing with 4 additions and 2 deletions
username = "python"
userpassword = "123456"
i=0
while i<5:
a=0
while a<5:
name = input("请输入用户名:")
password = input("请输入密码:")
if name == username and password == userpassword:
......@@ -15,5 +15,6 @@ while i<5:
a=a+1
if a==5:
print("错误次数超过上限,您将无法继续输入")
exit
else:
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