Commit 72cd2a6f by BellCodeEditor

save project

parent 9acdf46f
Showing with 37 additions and 0 deletions
# username = "comrade"
# userpassword = "ypa"
# while True:
# name=input("请输入用户名")
# password=input("请输入密码")
# if name == username and password == userpassword:
# print("登陆成功")
# break
# if password != username:
# print("密码错误")
# continue
# if name != userpassword:
# print("有号码错误")
# print("欢迎来到贝尔编程!")
i=1
username = "comrade"
userpassword = "ypa"
while True:
if i>0:
name=input("请输入用户名")
password=input("请输入密码")
i-=1
if name == username and password == userpassword:
print("登陆成功")
break
elif name != username:
print("号码错误")
else:
print("密码错误")
else:
print("你的账户已冻结,请关机重启,且找客服")
exit()
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