Commit 62325cd0 by BellCodeEditor

save project

parent 4a7cb6b6
Showing with 27 additions and 0 deletions
a = "py"
d = "1"
while True:
n = input("请输入用户名:")
s = input("请输入密码:")
if a == n and d == s:
print("登录成功!")
if a!=n:
print("用户名登录错误!请重新输入?")
continue
break
if d!=s:
print("密码登录错误!请重新输入?")
print("欢迎来到贝尔!")
sz = "python"
d = "123456"
while True:
n = input("请输入用户名:")
s = input("请输入密码:")
if sz == n and d == s:
print("登录成功!")
if a!=n:
print("用户名错误!请重新输入")
continue
if d!=s:
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