Skip to content

Commit 3a5a419

Browse files
committed
Updated index.rst
1 parent 03b0297 commit 3a5a419

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docs/index.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,17 @@ Quick Start Guide
1111
-----------------
1212

1313
::
14+
1415
from pygorithm.sorting import bubble_sort
16+
1517
# This will print the code for bubble sort
18+
1619
print(bubble_sort.get_code())
1720

1821
myList = [12, 4, 2, 14, 3, 7, 5]
22+
1923
# to sort the list
24+
2025
sorted_list = bubble_sort.sort(myList)
2126

2227
---------------

0 commit comments

Comments
 (0)