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

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

Leave a Reply