Commit 121bbb5f by BellCodeEditor

save project

parent 9560c4f4
Showing with 6 additions and 17 deletions
username = "python" a=["丰富"]
userpassword = "123456" c=list(a)
while True: c.insert(1,"hgj")
name = input("请输入用户名:") d="".join(c)
password = input("请输入密码:") print(d)
if name == username and password == userpassword: \ No newline at end of file
print("登录成功!")
break
if name!=username:
print("账号输入错误")
continue
if password!=userpassword:
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