Functions in Python are defined using the keyword def
followed by the function name, the parameter names
in parentheses, a colon, and the function body indented. For example:
def print_both(first, second):
print(first)
print(second)
Defines a function that takes two arguments as first
and second
and prints them on two
separate lines. Once defined, it could be called as follows:
print_both('Hello,', 'World!')
Fill in the placeholders so that the actual outputs match the expected outputs.