0

if i define a func then write return only what does the func returns?

7th Aug 2016, 12:59 PM
med ess
med ess - avatar
4 Réponses
+ 1
it will work like break in loops
7th Aug 2016, 2:13 PM
Bogdan
+ 1
return calls out a value, usually the value of a property or attribute of the function. but if the parameter is not included, then you are not returning any attribute/property of the function. so it is like returning a null value!!
10th Aug 2016, 10:09 PM
Dan-Awoh Emmanuel
Dan-Awoh Emmanuel - avatar
0
def func(): return this? it returns None.
7th Aug 2016, 4:23 PM
aruluth
aruluth - avatar
0
this will output a blank line
17th Aug 2016, 1:20 PM
ritik tiwari
ritik tiwari - avatar