0
if i define a func then write return only what does the func returns?
4 odpowiedzi
+ 1
it will work like break in loops
+ 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!!
0
def func():
return
this? it returns None.
0
this will output a blank line