Determine the value returned by the function. Pay close attention to data types!
def product(x, y):
result = x * y
return result
Function Call | Return Value | |||
---|---|---|---|---|
product('cat', 2) | → | |||
product('3', 4) | → | |||
product('-1', 3) | → | |||
product('53', 3) | → |
Experiment with this code on Gitpod.io