Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please include a flowchart 2) The following code will print 100 numbers, randomly selected between 0 and 1 million import random for kin range (100):

image text in transcribed
Please include a flowchart
2) The following code will print 100 numbers, randomly selected between 0 and 1 million import random for kin 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 mind 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

Database Concepts

Authors: David Kroenke

4th Edition

0136086535, 9780136086536

More Books

Students also viewed these Databases questions