Live Engine
Select Topic
easyFunctions
A developer defines a function without an explicit return statement and assigns the result of calling it. What does this print?
Code
def compute(x):
result = x * x
# no return statement
output = compute(5)
print(output)
print(type(output))