Commit a887b325 by BellCodeEditor

save project

parent 39fd0119
Showing with 8 additions and 16 deletions
username = "cjl" username = "py"
userpassword = "123e456" userpassword = "1"
while True: while True:
name = input("请输入用户名:") name = input("请输入用户名:")
if name != username :
continue
print("错误")
password = input("请输入密码:") password = input("请输入密码:")
if password != userpassword :
print("错误")
continue
if name == username and password == userpassword: if name == username and password == userpassword:
print("登录成功!") print("登录成功!")
break break
if name != username :
print("sb")
continue
if password != userpassword :
print("sb")
continue
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