Question: Task 2: Python - Same as Task 1, but use Python. (Function Organized Code is Ok) Create a program that will generate 1000 random integers

Task 2:

Python - Same as Task 1, but use Python.

(Function Organized Code is Ok)

Create a program that will generate 1000 random integers between 1 - 1000 and write into a .txt file.

Implement a file buffer. (Random numbers should be generated, stored in a structure, then written into the .txt file.)

*** Hint use a python list

Task3:

Python - use Python.

Read from a file

(Function Organized Code is Ok)

Read the [1000 random integers] for .txt File into a file buffer multiple each output by 10 and output to the console.

Implement a file buffer.

please use the output file name

" output.txt"

comment everyline make it work and show the txt file for both

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!