Function Practice 2 - Answer
Create a function that takes two numbers, multiplies them together, and prints the result.
Did your answer look something like this?
def multiply(num1, num2):
print(num1 * num2)
What happens when you call this new function?
>>> multiply(4, 5)
20
What happens when you pass it one string instead of a number?
>>> multiply("hello", 5)
hellohellohellohellohello