Cody Bable

Generation

generate functionFri, 19 May 2023

create a function for min and max of a list of numbers

def min_max(numbers): return min(numbers), max(numbers) min_max([1,2,3,4,5])

Questions about programming?Chat with your personal AI assistant