Commit 9bf90d66 by BellCodeEditor

save project

parent 9a03a346
Showing with 5 additions and 0 deletions
i=5
username = "python"
userpassword = "123456"
while True:
if i>0:
name=input("请输入账号")
password=input("请输入密码")
i-=i
if username == name and password == userpassword:
print("登陆成功")
break
......@@ -10,4 +13,6 @@ while True:
print("账号输入错误")
elif userpassword != password:
print("密码输入错误")
else
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