Month: September 2018

<em>Bad Code</em>

Bubble Sort | <em>Bad Code</em> [3]

What It Does This is my own version of the simple sorting algorithm bubble sort. The function takes the numbers 1 to 9  in a random order, and re-sorts them into ascending order. The first value is compared with the second value: if the first is greater than the second, their locations in the list …