Commit 32dbf8a3 by BellCodeEditor

save project

parent ff420f86
Showing with 9 additions and 8 deletions
username = "python" username = "python"
userpassword = "123456" userpassword = "123456"
username_1 = input("请输入帐号") while True:
userpassword_1= input("请输入密码") name = input("请输入用户名")
if username == userpassword_1 and userpassword_1==userpassword: password = input("请输入密码")
print("登录成功") if name == userpassword_1 and userpassword_1==userpassword:
break print("登录成功")
print("有户名和密码错误!请重新输入"): break
print("欢迎来到贝了编程器") elif username_1 != username
\ No newline at end of file print("有户名和密码错误!请重新输入"):
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