Infoblox interview question

How would you implement bubble sort in Python?