A sample python program to demonstrate a simple bubble sort, originally written by Gary of 'Gary Explains' on YouTube:
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
bubblesort.py

README.md

BubbleSortSaga

A sample python program to demonstrate a simple bubble sort, originally written by Gary of 'Gary Explains' on YouTube: https://www.youtube.com/watch?v=WOjc48sVo6E& I've transcribed it from Gary's video to accompany a blog post I'm writing at: https://mmdc.net/what-is-a-bubble-sort/

I changed it a bit here and there to run smoothly using Python3 as well as adding some sleep(1) lines to make the output more readable when run.