QUESTION IMAGE
Question
annotate the code
1 def say_name(name):
2 print(\hi, \, name)
3
4 say_name(\taylor\)
what would be the parameter in this example? (circle and label it)
what would be the argument in this example? (circle and label it)
console
Brief Explanations
In Python, a parameter is the variable listed inside the parentheses in the function definition (line 1: name). An argument is the value passed to the function when it is called (line 4: "Taylor").
Snap & solve any problem in the app
Get step-by-step solutions on Sovi AI
Photo-based solutions with guided steps
Explore more problems and detailed explanations
- Parameter: Circle
namein line 1 and label it as "Parameter". - Argument: Circle
"Taylor"in line 4 and label it as "Argument".