Contact: aviboots(AT)netvision.net.il
41,243 questions
53,750 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)) '''