How to merge every three (or more) elements of list in one in python?
How to merge every three (or more) elements of list in one in python? Question: list = [1, ‘one’, ‘first’, 2, ‘two’, ‘second’, 3, ‘three’, ‘third’, 4, ‘four’, ‘fourth’, 5, ‘five’, ‘fifth’, 6, ‘six’, ‘sixth’] is it compact way to make new list like this? (merging 3 elements, then another 3…): [‘1onefirst’, ‘2twosecond’, ‘3threethird’, ‘4fourfourth’, …