Closed mathdebate09 closed 8 months ago
The first example for min, max, sum has an extra bracket while implementing the functions
my_list = [5, 2, 3, 1, 4] greatest = max(my_list)) smallest = min(my_list)) list_sum = sum(my_list)) print("Smallest:", smallest) print("Greatest:", greatest) print("Sum:", list_sum)
it should be
my_list = [5, 2, 3, 1, 4] greatest = max(my_list) smallest = min(my_list) list_sum = sum(my_list) print("Smallest:", smallest) print("Greatest:", greatest) print("Sum:", list_sum)
fixed. ty for the feedback.
The first example for min, max, sum has an extra bracket while implementing the functions
it should be