例子:
#!/usr/bin/python tu = tuple([11,22,33,66,99,77,]) print(tu) li = list(tu) print(li)
结果
(11, 22, 33, 66, 99, 77) [11, 22, 33, 66, 99, 77]
时间: 2024-12-14 18:36:07
例子:
#!/usr/bin/python tu = tuple([11,22,33,66,99,77,]) print(tu) li = list(tu) print(li)
结果
(11, 22, 33, 66, 99, 77) [11, 22, 33, 66, 99, 77]