If there are 4 lists
items = []
item_links = []
prices = []
images =[]
Is there a way to print these lists together? I mean, the first item of 1st list together with the first element of the third and fourth list. Thanks.
If there are 4 lists
items = []
item_links = []
prices = []
images =[]
Is there a way to print these lists together? I mean, the first item of 1st list together with the first element of the third and fourth list. Thanks.
Use zip
for item, link, price, image in zip(items, item_links, prices, images):
print(item, link, price, image)