Commit cc9ad01f by BellCodeEditor

save project

parent 4a7cb6b6
Showing with 19 additions and 0 deletions
username = "648"
userpassword = "olso648"
while True:
name = input("请输入用户名:")
password = input("请输入密码:")
if name == username and password == userpassword:
print("登录成功!")
break
else:
if name==username and password!=userpassword:
print("账号错误")
else:
if name!=username and password==userpassword:
print("密码错误")
else:
if name!=username and password!=userpassword:
print("你“输”对了。congratulation。")
print("欢迎来到648编程!")
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