list_student=[[“001”,”李元芳”,19],[“002”,”刘禅”,20],[“003”,”张三丰“,18]],输出003信息
时间: 2023-05-31 13:05:57 浏览: 54
要输出003的信息,可以使用以下代码:
```python
list_student=[["001","李元芳",19],["002","刘禅",20],["003","张三丰",18]]
for student in list_student:
if student[0]=="003":
print(student)
```
输出结果为:
```
['003', '张三丰', 18]
```
相关问题
list_student=[[“001”,”李元芳”,19],[“002”,”刘禅”,20],[“003”,”张三丰“,18]],
该列表中每个元素是一个列表,包含学生的学号、姓名和年龄。具体如下:
list_student=[
["001", "李元芳", 19],
["002", "刘禅", 20],
["003", "张三丰", 18]
]
王者荣耀李元芳怎么对线狄仁杰
李元芳对线狄仁杰的策略主要是利用自身的灵活性和高爆发伤害进行打击。建议在前期尽可能地消耗狄仁杰的血量,利用自身技能的控制能力来打乱他的节奏,避免他使用技能连招。在中后期,李元芳可以利用自身的爆发伤害进行击杀,但要注意避开狄仁杰的控制技能,保持距离,不要被他连续控制。总之,李元芳需要在对线中保持主动,利用自身的优势来掌控战局。
相关推荐
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![7z](https://img-home.csdnimg.cn/images/20210720083312.png)
![docx](https://img-home.csdnimg.cn/images/20210720083331.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)