0
functions and arguments
I have defined function as follows: def max(x, y): if x >y: return x elif y>x: return y else: print ("equal") called function as follows: print(max(4, 4)) result expected is : equal but result came as: equal none please explain why none came in output
1 Resposta
0
i think because you didn't write return statement in else .