Commit c45be664 by BellCodeEditor

save project

parent ccddf685
Showing with 14 additions and 7 deletions
uname="py" uname="sb"
um="123456" um="54188"
name=input("请输入账号:") while True:
m=input("请输入密码:") name=input("请输入账号:")
if uname==uname and um == m: m=input("请输入密码:")
print("登陆成功") if uname==uname and um == m:
\ No newline at end of file print("登录成功")
break
if name != uname:
print("用户名称不存在")
if um != um:
input("密码错误")
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