Skip to content

Commit 03b0297

Browse files
committed
Updated index.rst
1 parent 4bbf116 commit 03b0297

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

docs/index.rst

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,21 @@ Pygorithm
33
============================
44

55
A fun way to learn algorithms on the Go!
6+
67
Just import the module and start learning, it's that easy.
78

89
-----------------
9-
Quick Start Guide:
10+
Quick Start Guide
1011
-----------------
1112

13+
::
14+
from pygorithm.sorting import bubble_sort
15+
# This will print the code for bubble sort
16+
print(bubble_sort.get_code())
1217

18+
myList = [12, 4, 2, 14, 3, 7, 5]
19+
# to sort the list
20+
sorted_list = bubble_sort.sort(myList)
1321

1422
---------------
1523
Getting Started

0 commit comments

Comments
 (0)