# Bubble Sort Flesh out the following code so that it sorts the array using a bubble sort. The algorithm is very similar to the exchange sort. You should probably read this [visualization of bubble sort](http://www.algolist.net/Algorithms/Sorting/Bubble_sort). ```eval_rst * :download:`bubble_sort.py ` ``` ``` before: 45 87 39 32 93 86 12 44 75 50 after : 12 32 39 44 45 50 75 86 87 93 ``` --- ©2021 Daniel Gallo This assignment is licensed under a [Creative Commons Attribution-NonCommercial-ShareAlike 3.0 United States License](https://creativecommons.org/licenses/by-nc-sa/3.0/us/deed.en_US). ![Creative Commons License](images/by-nc-sa.png) Adapted for Python from Graham Mitchell's [Programming By Doing](https://programmingbydoing.com/)