Commit d137b8bf by BellCodeEditor

save project

parent e169e366
Showing with 6 additions and 6 deletions
......@@ -2,14 +2,13 @@ username = "python"
userpassword = "123456"
while True:
name = input("请输入用户名:")
password = input("请输入密码:")
if name == username and password == userpassword:
print("登录成功!")
break
if name != username:
continue
print("牛马,你输的什么名字,呸!")
continue
password = input("请输入密码:")
if password != userpassword:
print("牛马,你输的什么密码,呸!")
if name == username and password == userpassword:
print("登录成功!")
break
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