Question: Write a python 3 script to create a list containing N random integers N should be at least 10,000. Write two functions mymin(alist) and mymax(alist)
Write a python 3 script to create a list containing N random integers N should be at least 10,000. Write two functions mymin(alist) and mymax(alist) to find the maximum and minimum entries in the list and the index of their position in the list. Test your code using the inbuilt min() and max() functions, along with the list.index() method. However, your mymin() and mymax() functions cannot use any inbuilt functions.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
