#I was very happy when I made this solution in python.
#I did not want to use normal functions because they're boring.
#So here it is using lambda functions!
makeZeroWhenNegative = lambda x : x(not x<0)
#How does it work? Python can accept binary integer values as boolean operators
#and vice versa. So all this function does is return a true when
#x is less than zero that flips it to a false. This can also be represented
#as 1 for True and 0 for false. The you just multiply this expression by
#x. All done without using a single if statement.