Jul-16-2019, 09:12 AM
Hello!
1)
2)
1)
def square(x): return(x*x) print(square(4))
2)
def square(x): print(x*x) square(4)Why do I have to use a return statement(1) when I can get the output by calling the function directly(2)?