Computer Science, asked by allysia, 5 months ago

PLEASE DO NOT TYPE ANY NONSENSE OR (they won't let me type the word but you got the idea) WORDS IN THE ANSWERS.

Write a function to create a text file containing following data:
"Neither apple nor pine are in pineapple. Boxing rings are square. Writers write, but fingers don't fing. Overlook and oversee are opposites. A house can burn up as it burns down. An alarm goes off by going on."

And perform following operations on the file:

i) Read back the entire file content using read() or readlines () and display on
screen.

ii) Append more text of your choice in the file and display the content of file with
line numbers prefixed to line.

iii) Display last line of file.

iv) Display first line from 10th character onwards

v) Read and display a line from the file. Ask user to provide the line number to be read

Answers

Answered by indian73
0

Answer:

The owner of a general Store wants to open a branch in

nearby town will you advice

him to take a partner to run the branch.Store wants to open a branch Store or employ

a manager/assistent? Give reason

Similar questions