Capgemini Engineering interview question

implement bubble sort in python?