质量为本、客户为根、勇于拼搏、务实创新
python怎样把元组变成列表
可使用list()函数将元组转换为列表。例如:```pythontup = (1, 2, 3)lst = list(tup)print(lst)```输出:```python[1, 2, 3]```
TOP