Commit 40e41983 by BellCodeEditor

save project

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