From 89b350609f038602c58d2994ad6fd0e02c414589 Mon Sep 17 00:00:00 2001 From: Mohit Arora <32641304+mohitarora3@users.noreply.github.com> Date: Mon, 30 Sep 2019 23:46:59 +0530 Subject: [PATCH] Update sortListUsingIdx.py --- sortListUsingIdx.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sortListUsingIdx.py b/sortListUsingIdx.py index 809a3fd..7517a46 100644 --- a/sortListUsingIdx.py +++ b/sortListUsingIdx.py @@ -6,6 +6,7 @@ def findIdxMin(lst,idxlb=0,idxub=len(lst)-1): input parameters: lst: list of elements output: minimum element of the list + ''' if idxlb==idxub: return idxlb @@ -21,6 +22,7 @@ def sortList(lst,lb=0,idxminm=findIdxMin(lst)): input parameters: lst: list of elements output: sorted list + ''' if lb