Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from sort import bubbleSort
- def main():
- x = [7,9,5,3,478,2,6,8,8,22,4,8,9,3,31,4,7,8,66,32,457,8,3,3,5,4,23,8,6,9]
- y = [3,2,1,-1,-6,-25,-89,5,5,5,5,3,8,-7,-1,0]
- z = []
- print(bubbleSort(x)[1])
- print(bubbleSort(y)[1])
- print(bubbleSort(z)[1])
- print(bubbleSort(1)[0])
- return True
- main()
Advertisement
Add Comment
Please, Sign In to add comment