Commit dd03e0cf by BellCodeEditor

save project

parent 88f42c8b
Showing with 10 additions and 17 deletions
username = "蔡徐坤" students=['悟空','小贝','八戒','波奇']
userpassword = "鸡你太美" students.remove('八戒')
while True: print(students)
name = input("请输入用户名:") students.append('诺依')
password = input("请输入鸡~:") print(students)
if name == username and password == userpassword: red=students[0:2]
print("登录成功!") biue=students[2:4]
break print(red)
if name!=username: print(biue)
print("鸡~不存在") \ No newline at end of file
continue
if password!=userpassword:
print("你干嘛,哦噢~~~")
continue
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