Q4 of 5 for Python list

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:

Click here to write your Question 4 answer!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: