Iteration
3 / 5
List iteration
Write a function num_increases
with a parameter closes
of daily closing prices on a certain stock.
The function should return how many times the stock price went up in value during the day.