Saint Louis University |
Computer Science 1300/5001
|
Computer Science Department |
Please make sure you adhere to the policies on academic integrity.
The chapter provides an implementation of OurList.index that accepts a single value as a parameter, with the public syntax
The index method of the built-in list class accepts an additional optional parameter that is an index at which the search for the value should begin, as in
Provide a new implementation of the OurList.index that includes such an optional parameter (with the default value of 0). You may assume that the parameter is a nonnegative integer.
Our implementation of the function