Write a python program that writes to a file named NumberList.txt; it should use a loop to write the numbers 1 through 100 to the file, each in a separate line, then closes the file.

Q&A Education