+ 1
Can anyone explain what is the output of this code? Why it shows 'None'?
3 Respuestas
+ 11
@Alejandro has already explained, so this is how you should call the functions:
max(7)
max(8)
+ 3
because you are trying to assign a function as value, and your function doesn't have a return statement
+ 2
thanx @Alejandro @shamima , now i understood how to use return and print statements