Combine elements of control flow
Your coworker was so grateful that you were able to help her with her code for checking the list of names that she came back for more help! This time, she is specifically looking for code that will check all of the names in her list names_list
and print them out if they are longer than ten letters. She is looking to wrap all of this into a function called print_long_names
.
This exercise is part of the course
Programming Paradigm Concepts
Hands-on interactive exercise
Turn theory into action with one of our interactive exercises
