# 元组转换列表# 因元组无法改变,如果要改变元组里的值,就必须由元组先转换成其他序列类型,待改好之后再改回元组li = (1,2,3,4,5,6,7,8,'w','a','x')lo = list(li)# print(lo)lo[0] = 's'# print(lo)ln = tuple(lo)print(ln)