Question: Step 1 : Write a Python program, using a loop and calling the built - in random number generator, to create a text file of

Step 1: Write a Python program, using a loop and calling the built-in random number generator, to create a text file of 20 random integers. Verify the text file content before Step 2. Step 2: Write a Python program to read the random integers in the text file from Step 1 into a list. Find and output the average, smallest, and highest value in this list.

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 Programming Questions!