Q4 of 5 for Python list

Written by:

Hi, and welcome back. We are going to read data from a list. This new “Questions for List” problem set is series of small programming challenges so you can retain your programming skills, and practice the python language in your free time.

So please participate— practicing a little programming, and picking up some problem-solving skills in the process, even just once a day will get your children pretty far. Every problem has a solution that can be found within around 15 seconds.


Q 4. I have more lists of fruits and have put them in the “fruit.csv” file.
By the way, all over the world, there are over 2000 different types
of fruits!!
However, I’ve only found a few for my birthday.
Are you curious how many fruit I found?
I’ve opened the file for you, below.
Can you count the number of items in the fruit list? Good luck!
Hint: Use Q2 Technique: The len() method to find the length of a list.

Hint Video:

Leave a comment