首页 > 其他分享> > 列表嵌套 列表嵌套 2022-08-24 18:31:12 作者:互联网 l1 = [1,2,'fsafdawsfdsjlkj',[1,'saf',3,]]# print(l1[2])# print(l1[2].upper())l1[2] = l1[2].upper()print(l1) 9‘ 标签:upper,fsafdawsfdsjlkj,saf,列表,嵌套,l1,print 来源: https://www.cnblogs.com/ETH8888/p/16621183.html