Commit 0c0c4291 by BellCodeEditor

save project

parent d00756c7
Showing with 9 additions and 4 deletions
usename="wangyuhao" usename="wangyuhao"
usepassword="123456789" usepassword="123456789"
name=input("请输入账号:") while True:
password=input("请输入密码:") name=input("请输入账号:")
if name==usename and password==usepassword: password=input("请输入密码:")
print("登陆成功") if name==usename and password==usepassword:
print("登陆成功")
break
print("输入错误,请重新输入")
print("欢迎")
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