##############################################################################
# Python From Scratch
# Autor: Nilo Ney Coutinho Menezes
# Editora Novatec (c) 2010-2024
# Site: https://pythonfromscratch.com
#
# File: listing\chapter 06\06.18 - Printing purchases.py
# Description: Printing purchases
##############################################################################
product1 = ["apple", 10, 0.30]
product2 = ["pear", 5, 0.75]
product3 = ["kiwi", 4, 0.98]
shopping = [product1, product2, product3]
for e in shopping:
print(f"Product: {e[0]}")
print(f"Amount: {e[1]}")
print(f"Price: {e[2]:5.2f}")