例子:
#!/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]
例子:
#!/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]