Capgemini Engineering Interview Question

implement bubble sort in python?