# Clamp problem # Function to clamp a number def Clamp(Number, Max): #Return the lowest of the two numbers if Number > Max: Number = Max return int(Number) # Main program print(Clamp(45,30))