End of Summer - hours only!Up to 80% off on all courses and bundles.-Close
Scrabble Time

Instruction

Great!

Exercise

Now we can use the check_word_length() function inside of the find_possible_words() function. As you can see, the check_word_length() function has two parameters that are not passed to the find_possible_words() function. What can we do? We can simply add the parameters to the find_possible_words() function, then pass their values to the can_build_word() function used inside.

Add the min_word_length (fourth argument) and max_word_length (fifth argument) parameters to the find_possible_words() function and set their default values to 2 and 7, respectively. Then, find an appropriate place inside the function where you can call the check_word_length() function and check whether a word meets the condition.