Python Functions, Packing, and Unpacking Introduction to Functions Recap of Introduction to Functions

Quiz Question 3 in Functions,Packing and Unpacking, help

def print_name(): print('Ashley' );

Given the following code(above) write one line of code to call the function?

1 Answer

To call a function you use the name of the function followed by parentheses. So in this case:


can't believe it was that simple, thanks Kris!