Commit 0e187beb by BellCodeEditor

save project

parent 548fbef9
Showing with 13 additions and 5 deletions
username="ABC" username="ABC"
userpassword="ABC" userpassword="ABC"
name=input("请输入您的账号:") while True:
password=input("请输入您的密码:") name=input("请输入您的账号:")
if name==username and password==userpassword: password=input("请输入您的密码:")
print("登陆成功") if name==username and password==userpassword:
\ No newline at end of file print("登陆成功")
break
if name!=username:
print("密码错误,请重新输入")
if password!=userpassword:
print("账号错误,请重新输入")
print("密码或账号错误,请重新输入")
\ No newline at end of file
++ "b/\345\230\273\345\230\273\345\230\273.py"
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