# 将列表转化为元组 lst=[11,22,33] t=tuple(lst) print(t,type(t)) # 打印结果:(11, 22, 33) <class 'tuple'> tu=(11, 22, 33) l=list(tu) print(l,type(l)) # 打印结果:[11, 22, 33] <class 'list'>