Commit e939a567 by BellCodeEditor

save project

parent 807637a6
Showing with 9 additions and 4 deletions
...@@ -3,9 +3,14 @@ usernames = "123456" ...@@ -3,9 +3,14 @@ usernames = "123456"
A=input("请输入账号") A=input("请输入账号")
b=input("请输入密码") b=input("请输入密码")
if username ==A and usernames==b: while True:
if username ==A and usernames==b:
print("登陆成功")
break
print("欢迎来到贝尔编程")
else:
print("登陆失败,请再次输入")
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