Sovi.AI - AI Math Tutor

Scan to solve math questions

QUESTION IMAGE

def square(numa, numb): return numa ** numb base = 5 power = 2 answer =…

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

Explanation:

Brief Explanations

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.

Answer:

D. power and base