Step one: Find some method to extract all the posts into a text file. One line for each. step two:
def count_questions(file_path):
questions = 0
with open(file_path) as f:
for line in f:
questions += line.count('?')
return questions
# python entry point goes here better look up how it looks like,
if __name__ == '__main__':
print(f'Rasmussen asked {count_questions("rasmussen.txt")} stupid questions.')
