pythonV1V2/第14讲任务进行时/课堂成果/课后作业_兔子长官.py
sairate 7df250638d chore: 添加项目基础结构和示例代码
- 创建 .idea 目录和相关配置文件,设置项目结构
- 添加多个课堂成果示例代码,涵盖不同主题和功能
- 创建和配置 .gitignore 文件,忽略特定文件和目录
2025-07-05 09:36:00 +08:00

9 lines
203 B
Python

#请在这里编写代码
animals = ["猴子", "小花猪", "蝴蝶", "豹子"]
#animals.pop()
#del animals[3]
animals.remove('豹子')
animals.insert(1,"大象")
animals.append('绵羊')
print(animals)