Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
The option d = list(zip(a, b, c))
will create a list of tuples (turble). But when you try to change something in some element of the list, for example d[0][2] = 12
, you will get the error "'tuple' object does not support item assignment"
As an option to get a list of lists
d = for i in range(min(len(a), len(b), len( c)))]
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question