Challenge: Make a Routine

Test yourself by creating a routine that prints the data passed as parameters.

Write a small program that asks for a person’s first and last names, followed by their parents’ first and last names. The program then uses a routine to print the collected data.

You can pass the names as parameters to the routine as shown below:

def routine_name parameter_1, parameter_2, parameter_3 

Get hands-on with 1200+ tech skills courses.