##############################################################################
# Python From Scratch
# Autor: Nilo Ney Coutinho Menezes
# Editora Novatec (c) 2010-2024
# Site: https://pythonfromscratch.com
#
# File: listing\chapter 06\06.14 - Reading and printing a shopping list.py
# Description: Reading and printing a shopping list
##############################################################################
shopping = []
while True:
product = input("Product:")
if product == "end":
break
shopping.append(product)
for p in shopping:
print(p)