Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please attach a flowchart, tysm 3) The following code will print 100 numbers, randomly selected between 0 and 1 million import random for k in

Please attach a flowchart, tysmimage text in transcribed

3) 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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Graph Databases New Opportunities For Connected Data

Authors: Ian Robinson, Jim Webber, Emil Eifrem

2nd Edition

1491930896, 978-1491930892

More Books

Students also viewed these Databases questions

Question

How wide are Salary Structure Ranges?

Answered: 1 week ago