Cody Bable

Generation

generate functionFri, 19 May 2023

create a function for min and max of a number

def min_max(a, b, c): if a < b and a < c: return a elif b < a and b < c: return b else: return c

Questions about programming?Chat with your personal AI assistant