Say I have some lists:
t = ['a','b']
x = ['x1','x2','x3','x4']
y = ['y1','y2','y3','y4']
I would like to combine elements from those lists above, so I would have a new list looks like this
new = ['ax1y1x2y2','bx3y3x4y4']
How do I do this in Python?
'y4'value didn't have the'. Eitherway, you need to always provide whatever you were able to accomplish. Even if it was a for loop that didn't work, any code of a previous attempt is useful for us to tell you what went wrong on your solution and help you improve in your code.