python如何将列表添加到另一列表

2024-10-13 08:37:57

1、打开一个python文件。

python如何将列表添加到另一列表

3、然后定义第二个列表,名为furniture2。

python如何将列表添加到另一列表

5、用print函数将furniture1这个列表打印出来。

python如何将列表添加到另一列表

7、在输出控制台就可以看到结果了,furniture2列表的内容添加到了furniture1这个列表中去了。

python如何将列表添加到另一列表
猜你喜欢