Question: python 3.6 1. Write function findMinPosIndex whose expected output is as follows. >>> help(findMinPos) Help on function findMinPos in module __main__: findMinPos(start, end, l) start,end:
python 3.6
1. Write function findMinPosIndex whose expected output is as follows. >>> help(findMinPos) Help on function findMinPos in module __main__: findMinPos(start, end, l) start,end: int, l: list, return: int findMinPos returns the POSITION of the minimum value between indices start and end-1.
For example: >>> l = [3,2,-1,4,6,3] >> findMinPos(0,len(l),l) 2 >>> findMinPos(1,len(l),l) 2 >>> findMinPos(2,len(l),l)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
