New course! Every coder should learn Generative AI!
Try a free lesson+ 1
Why functions with argument give 'none' in output
3 Answers
+ 2
cause it doesn't return anything, you have to add a return statement
+ 2
I got it thanks
+ 1
instead of print ('sum=', x+y)
we can write return ('sum=', x+y)
👍👍👍