Cody Bable

Generation

generate functionFri, 19 May 2023

create a function for min and max of a number

def min_max(a, b): if a < b: return a elif b < a: return b else: return 'equal' min_max(5, 4)

Questions about programming?Chat with your personal AI assistant