Solution: Flow Control

create a list, named a, containing 'apple', 'banana', 'strawberry', 'apple'

check if 'apple' is in the list

Use a for loop to run the following steps on the list variable a:
if "apple" is found: print out a sentence "apple is found" and then terminate the whole for loop using break.

use a for loop on the list variable a to count how many times 'apple' appeared?
Tip: you need to create one variable outside the for-loop to save the count. For instance,

count = 0 
for item in a:
    if item xxxx: 
        count +=1
print(count)