Say I have list a = [23, 2]. I need to split every element in list and then combine them to one list.
So result be like a = [2, 3, 2]
What I have for now is:
list = [int(i) for i in str(map([], map(lambda x: x*2, list(reversed(numlist))[1::2])))]
Where map(lambda x: x*2, list(reversed(numlist))[1::2]))) is the list of even indexed numbers (2, 4, 6...) each multiplied by 2.
It gives me: ValueError: invalid literal for int() with base 10: '<' on this line.