Cody Bable

Generation

generate functionFri, 19 May 2023

create a function for min and max of a number

def minn(a, b): if a < b: return a else: return b def maxx(a, b): if a > b: return a else: return b minn(3, 5) maxx(3, 5)

Questions about programming?Chat with your personal AI assistant