B (7) - Implementing an algorithm Given the following list of numbers, data = [2, 4, 6, 3, 1, 5], write a Bubble sort fu
Posted: Tue May 24, 2022 8:28 am
B (7) - Implementing an algorithm Given the following list of numbers, data = [2, 4, 6, 3, 1, 5], write a Bubble sort function in Python to sort the list in descending order. Your program should first print the unsorted list to the screen, then invoke the Bubble sort function to sort the list and, finally, print the sorted list.