Question: Create a python program that creates a file named randNums.txt and writes a series of 100 random numbers, each having a value of 1 to
Create a python program that creates a file named randNums.txt and writes a series of 100 random numbers, each having a value of 1 to 100, one per line, to the file. Note that you need to convert the number generated to a string value before writing it to the file. Recall that the random library is required. Note: you must use the filename specified, or your output will be marked wrong
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
