We don’t do homework, but we will make suggestions. Usually we would
like you to come to us with what code you’ve tried, its (failing) output
or error messages.
Checking the strings can be done using the methods the str class comes
with (all your strings are of type “str”). The str class and its methods
are documented here:
I notice that your get_words_that_start_with() function template only
receives the letter, not the strings to consider. Normally you would
have a second parameter containing the list of strings. That way you can
iterate over those strings looking at each in turn, probably using a
for-loop.