Pergunta de entrevista da empresa Infoblox

How would you implement bubble sort in Python?