Assignment 1 data analysis with python

how to approach this question

store the final answer in this variable

number_of_happy_tweets = 0

perform the calculations here