1. 已知 AList = [1,2,3,1,2],对 AList 列表元素去重,写出具体过程。 答: AList = [1,2,3,1,2] BList = set(AList) print(BList) print(list(BList)) 输出结果: { 1, 2, 3} [1, 2, 3] 2. 如何实现 “1,2,3” 变成 [“1”,“2”,“3”] 答: s = "1,2,3" print(s