python怎么把元组变成列表

可以使用list()函数将元组转换为列表。例如:

```python
tup = (1, 2, 3)
lst = list(tup)
print(lst)
```

输出:

```python
[1, 2, 3]
```

阅读剩余
THE END