Q5 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.


Q5.
When you read “fruit.csv”, you can find the fruit, “Apple”.
I would like you to count how many times that fruit, “Apple”, appears.
in the list. I’ve written a program that finds them,
so you just have to finish the program to count them all!

Leave a comment