Listing 06-15: Printing a list of strings, letter by letter

##############################################################################
# Python From Scratch
# Autor: Nilo Ney Coutinho Menezes
# Editora Novatec (c) 2010-2024
# Site: https://pythonfromscratch.com
#
# File: listing\chapter 06\06.15 - Printing a list of strings, letter by letter.py
# Description: Printing a list of strings, letter by letter
##############################################################################

L = ["apples", "pears", "kiwis"]
for s in L:
    for letter in s:
        print(letter)
Click here to download the file