-------- Final Receipt --------
Milk, 2 Litres $ 2
Potatoes $ 7.5
Sugar $ 3.5
I want this print statement to be
-------- Final Receipt --------
Milk, 2 Litres $ 2
Potatoes $ 7.5
Sugar $ 3.5
here is my print stament
for mydata in zip(*list(product_in_basket.values())[:-1]):
print(mydata[1],'$',mydata[2])
and product_in_list is nested dictionary
the code is fully working but need my output style