def power(base, exponent): result = base ** exponent print(("%d to the power of %d is %d.") % (base, exponent, result)) power(37, 4)
Quote:In this situation, is result a variable or a function or something else
result
lvalue
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)