Arguments are __________ Both variables defined in a function header and local variables to the function Local variables to a function. Variables defined in a function header. Variables or constants used in a function call. Given the function of def happyBirthday(name, age = 10): print("Happy Birthday", name, "I hear your", age, "today") What is the output with a function call of: happyBirthday("Timmy", 4) Error Message Happy Birthday Timmy I hear your 10 today Happy Birthday Timmy I hear your 4 today Happy Birthday 4 I hear your Timmy today Given the function of def happyBirthday(name, age = 10): print("Happy Birthday", name, "I hear your", age, "today") What is the output with a function call of: happyBirthday(age = 5, name = "Sam") Happy Birthday Sam I hear your 5 today Happy Birthday Sam I hear your 10 today Happy Birthday 5 I hear your Sam today Error Message
-
Arguments are __________
Both variables defined in a function header and local variables to the function
Local variables to a function.
Variables defined in a function header.
Variables or constants used in a function call.
-
Given the function of
def happyBirthday(name, age = 10):
print("Happy Birthday", name, "I hear your", age, "today")
What is the output with a function call of:happyBirthday("Timmy", 4)
Error Message
Happy Birthday Timmy I hear your 10 today
Happy Birthday Timmy I hear your 4 today
Happy Birthday 4 I hear your Timmy today
-
Given the function of
def happyBirthday(name, age = 10):
print("Happy Birthday", name, "I hear your", age, "today")
What is the output with a function call of:happyBirthday(age = 5, name = "Sam")
Happy Birthday Sam I hear your 5 today
Happy Birthday Sam I hear your 10 today
Happy Birthday 5 I hear your Sam today
Error Message
-
-

Step by step
Solved in 3 steps









