元组 ,列表, 集合间的转换 列表元组集合间隔转换的函数 原始类型目标函数函数举例 列表集合setnew_set = set([1, 2, 3, 4, 5]) 列表元组tuplenew_tutple = tuple([1, 2, 3, 4, 5]) 元组集合setnew_set = set((1, 2, 3, 4, 5)) 元组列表listnew_list = list(1, 2, 3, 4, 5) 集合列表listnew_list = list({1, 2, 3,...
hn.icodeq.com1 min read
No responses yet.