QUESTION IMAGE
Question
def square(numa, numb):
return numa ** numb
base = 5
power = 2
answer = square (base,power)
print(answer)
onuma and power
onumb and power
obase and numa
opower and base
In the Python code, the function square takes two parameters numA and numB and returns numA raised to the power of numB. The variables base and power are defined outside the function, and then base is passed as numA and power is passed as numB when the function is called. So the pairs of variables that match in terms of their usage in the function - call context are base and numA, power and numB.
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
D. power and base