+ 1
Will this code run correctly in Python??
def mini(x, y): if x<=y: return x else: return y endif__ a = mini(2,3) print(a)
3 Respostas
+ 5
Yes, but 'endif__' is not a valid keyword, and the line containing it will never be reached ^^
+ 1
Yes and will print 2
+ 1
yeahh...endif__ does no make difference...