MCPcopy Create free account
hub / github.com/geekcomputers/Python / Bubble_sort.py

File Bubble_sort.py

Sorting Algorithms/Bubble_sort.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1def bubble_sort(Lists):
2 for i in range(len(Lists)):
3 for j in range(len(Lists) - 1):
4 # We check whether the adjecent number is greater or not

Callers

nothing calls this directly

Calls 2

bubble_sortFunction · 0.70
appendMethod · 0.45

Tested by

no test coverage detected