Answer:
# create the file
filename = "Testfile.txt"
# for writing, we create the output file:
outPutfile = open(filename, "w")
# Writing numbers from 1-100
for item in range(1,101):
outPutfile.write((str)(item))
outPutfile.close()
# printing the contents to verify it worked correctly
infile = open(filename, "r") #note the "r" indicates the mode
fileContents = infile.read()
infile.close()
print(fileContents)
Explanation:
- Define the working file fileName = TestFile
- Create the output file for writting outPutfile = open(filename, "w")
- Use a for loop to write numbers from 1-100 to the file outPutfile.write((str)(item))
- Close the file outPutfile.close()
- You may open the file read its content and print the contents to verify it worked correctly
the answer is True
there has to be a balance between security and the user experience
Always touch a metal object before installing to prevent short circuiting the hard drive.
Answer:
Argument
Explanation:
<u>Argument</u> - A set of connected ideas, supported by examples, made by a writer to prove or disprove a point.
The chart with the circle in the top right is a pie chart
the top left chart on enrollment is a histogram
the bottom chart is a bar chart