Commit c5ae39d7 by BellCodeEditor

save project

parent d5b5a7e5
Showing with 20 additions and 0 deletions
name = "246810"
psspaword = "123456"
while True:
name1 = input("请输入账号:")
password1 = input("请输入密码:")
if name == name1 and password==password1:
print("登陆成功!")
break
print("账号或密码错误!")
if name != name1:
print("账号错误,请重新输入!")
break
if password != password1:
print("密码错误,请重新输入!")
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