I have four lists called items2
( quantity) , items
( the codes) , newprice_list
(final price) and product_list
(the name of the products). I tried to print them side-by-side like this:
123213 banana 4 £5
I tried this...
All_list=[items , product_list , newprice_list , items2]
for a in zip(*All_list):
print(*a)
...however it gave me this output:
86947367 banana
10 2
The thing is , when I print out the lists newprice_list
and items2
they do not have the " quotes like the other two lists , which I think is the problem, however I do not know how to solve it. I have turned items2
and items into integers.
EDIT: When I rearrange the order it works, however I need it to be in that order.