Commit c3109e87 by BellCodeEditor

save project

parent 3f457e39
Showing with 9 additions and 8 deletions
username = "python" username = "python"
userpassword = "123456" userpassword = "123456"
while True: while True:
name = input("输帐号:") name = input("输帐号:")
password = input("输密码:") password = input("输密码:")
name = input("帐号:") name = input("帐号:")
password = input("密码:") password = input("密码:")
if name == username and password == username: if name == username and password == username:
print("登录成功!") print("登录成功!")
break break
print("输入错误!") print("输入错误!")
print("欢迎来到贝尔编程!") 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