Contact: aviboots(AT)netvision.net.il
43,956 questions
57,384 answers
573 users
lst = [[1,2], [3,4], [5,6]] tpl = tuple(tuple(i) for i in lst) print(tpl) ''' run: ((1, 2), (3, 4), (5, 6)) '''