Write a function that takes a list of data as a parameter and returns the index of the minimum value. Write a function t
Posted: Thu Jul 14, 2022 2:18 pm
Using Python
Write a function that takes a list of data as a parameter and returns the index of the minimum value. Write a function that takes a list of data as a parameter and returns the index of the maximum value. 2: sorting (10pts) Write a function that takes a list of data as a parameter and returns a list sorted in ascending order. Write a function that takes a list of data as a parameter and returns a list sorted in descending order. 3: distances (10pts) Write a function that takes a list of data and returns the distance between the two points which are the closest together. Write a function that takes a list of data and returns the indexes of the two points which are the closest together.
Write a function that takes a list of data as a parameter and returns the index of the minimum value. Write a function that takes a list of data as a parameter and returns the index of the maximum value. 2: sorting (10pts) Write a function that takes a list of data as a parameter and returns a list sorted in ascending order. Write a function that takes a list of data as a parameter and returns a list sorted in descending order. 3: distances (10pts) Write a function that takes a list of data and returns the distance between the two points which are the closest together. Write a function that takes a list of data and returns the indexes of the two points which are the closest together.