Solution Exercise 19: listing the elements of a list in python

Exercise 19

Write a Python algorithm that list the strings that make up the list l = ["laptop", "iphone", "tablet"] while indicating the length of each string.

Solution

 

Younes Derfoufi
CRMEF OUJDA

loader-image
Le prix initial était : € 11,00.Le prix actuel est : € 10,00.
Le prix initial était : € 6,00.Le prix actuel est : € 5,00.



2 thoughts on “Solution Exercise 19: listing the elements of a list in python”

Leave a Reply

Your email address will not be published. Required fields are marked *