I need some help with converting a list of equal sized lists x
to a list of tuples such that each tuple should be the length of x
x = [
['4', '8', '16', '32', '64', '128', '256', '512', '1,024'],
['1,200', '2,400', '4,800', '4,800', '6,200', '6,200', '6,200', '6,200', '6,200'],
['300', '600', '1,200', '2,400', '3,200', '3,200', '4,000', '4,000', '4,000']
]
# some functions that converts it to
expected_output = [('4', '1,200', '300'), ('8', '2,400', '600'), ...]
in this case len(x)
is 3 but I want a function that can handle any length of x