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
Answer:
Answer is - cell, - column, - string value
Explanation:
- <em>Cell - this is often referred to as the intersection of a single row and column. </em>
- <em>Column - this is a group of cells which are represented vertically. </em>
- <em>String - these are values that are inside the cell which are represented through texts or group of letters including acceptable symbols and characters.</em>
Answer:
1) pull out the legs of the tripod to gain the required height and necessary stability
2) adjust each of the legs so that the tripod is level
3) attach the camera to the tripod
Http://www.cprogramming.com/tutorial/string.html
--------------------------------------------------------------------