QUESTION IMAGE
Question
to define a function with parameters that have default values, the syntax is def function_name(param1, param2=__):
This question asks for the correct syntax to set a default value for a function parameter in Python. The default value is assigned directly to the parameter in the function definition.
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
The blank should be filled with a specific default value (e.g., def function_name(param1, param2=0): where 0 is the default value for param2; any valid Python value like a string, number, or None can be used as the default).