Cody Bable

Generation

generate functionFri, 19 May 2023

create a function for min and max of a number

def min(a, b): if a < b: return a else: return b def max(a, b): if a < b: return b else: return a min(1, 2) max(1, 2)

Want to kickstart your project?Use the new AI Studio to create your code