Infoblox Interview Question

How would you implement bubble sort in Python?