Commit 40e41983 by BellCodeEditor

save project

parent b27a07d0
Showing with 10 additions and 12 deletions
username = "python" students = ["悟空","小贝","八戒","波奇"]
userpassword = "123456" students.remove("八戒")
name = input("请输入用户名:") print(students)
password = input("请输入密码:") students.append("诺伊")
if name == username and password == userpassword: print(students)
print("登录成功!") red = students[:2]
blue = students[2:]
print(red)
print(blue)
username = "python"
userpassword = "123456"
name = input("请输入用户名:")
password = input("请输入密码:")
if name == username and password == userpassword:
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