Commit c45be664 by BellCodeEditor

save project

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