The extra print out


#1

I finished the exercise of below and it showed my code is right but why will it print None also.
dun know where does it come from
image


#2

function and methods always have to return something, None is the default value. But the returned value is only printed when you put a print statement before the method call


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.