0
please why doesn't it execute properly
def multiply(a, b): a * b
3 Respuestas
+ 2
Gyan Adu it would help to see the rest of the code.... this is incomplete by itself.
+ 2
def multiply(a,b)
return (a*b)
print(multiply(2,3)) =>6
+ 1
Maybe because you don't have a return statement, like
return a*b
otherwise, you are not storing the result of the multiplication anywhere