Exercise 2 - Lowest Number - Solution
BEGIN lowestNumber(a , b) IF a < b THEN RETURN a ELSE RETURN b ENDIF END BEGIN INPUT x INPUT y PRINT lowestNumber(x , y) END
def lowestNumber(a , b): if a < b: return a else: return b x = int(input('x: ')) y = int(input('y: ')) print( lowestNumber(x , y) )