摘要: 直接将元组转为列表 tup = (21, 19, 11, 46, 18) print(tup) lt = list(tup) print(lt) 输出 (21, 19, 11, 46, 18) [21, 19, 11, 46, 18] 将元组列表转为列表 # List of tuple initia 阅读全文
posted @ 2022-11-10 13:54 darling331 阅读(310) 评论(0) 推荐(0) 编辑