0

I am trying to iterate with two lists and I want the for statement to be exhaustive with both lists.

Example

Month = [1,2,3]
Year = [2018,2019]

So in my for statement I have

for i,j in zip(Month, Year):
print i,j

So that I get

1,2018
2,2018
3,3018
1,2019
2,2019
3,2019

0 Answers0