first_list = [1, 2, 3] second_list = [10, 20, 30]
for i, j in zip(first_list, second_list): print(i, j)
1 10
2 20
3 30
Learn Flask development and learn to build cool apps with our premium Python course on Udemy.
Subscribe to be the first to know when a new Python course is released.