Contact: aviboots(AT)netvision.net.il
31,038 questions
40,803 answers
573 users
lst_lst = [[1, 2, 3] ,[4, 5, 6], [7, 8, 9]] list_of_tuples = [tuple(l) for l in lst_lst] print(list_of_tuples) ''' run: [(1, 2, 3), (4, 5, 6), (7, 8, 9)] '''