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
Hey there!
- The word "<u>verb</u>" simply means <em>'description of an action, assert, or event that is made into the main purpose of your predicate in your judgement' </em>
- Now that we have the definition of the word verb we can answer your question
- "<em>Has</em>" is past tense but it is THIRD person present
- "<em>Have</em>" is when you own something
<h2>Answer:
HAS ✅</h2>
BECAUSE "I SAW last night"
Note: usually people read the sentence to themselves until it makes easier sense to them or use context clues in the sentence to answer the particular question(s)
Good luck on your assignment and enjoy your day!
~LoveYourselfFirst:)
Data backup and collaboration.
-31 or 21- 50 it may also carry -31