+ 2

What does return mean?

I think it means where it ends the def

14th Apr 2017, 1:42 PM
Bean[PRO]
Bean[PRO] - avatar
3 Answers
+ 6
not necessarily. you can have more than one return. example if (x > 5) return 6 else return 4 its just what the function will return
14th Apr 2017, 1:44 PM
Edward
+ 3
a=4 b=5 return a+b 9
15th Apr 2017, 7:06 AM
kadeer
+ 1
return means to return the values where it is called
14th Apr 2017, 3:01 PM
HUNTER ZOLOMON
HUNTER ZOLOMON - avatar