Question: 2) The following code will print 100 numbers, randomly selected between 0 and 1 million import random for k in range (100): print (random.randint (0,1000000))

 2) The following code will print 100 numbers, randomly selected between

2) The following code will print 100 numbers, randomly selected between 0 and 1 million import random for k in range (100): print (random.randint (0,1000000)) Write a python script to create a list containing N random integers - N should be at least 10,000. Write two functions myminalist) 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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!