subject

Write a program that reads each line in a file, reverses its lines, and writes them to another file. for example, if the file input. txt contain the lines: mary had a little lamb its fleece was white as snow and everywhere that mary went the lamb was sure to go. and you run your python file then output. txt contains the lamb was sure to go. and everywhere that mary went its fleece was white as snow mary had a little lamb name your python file: reverse. py

write in python

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 15:00
Hyperactive media sales has 10 windows 7 laptop computers used by sales-people in the organization. each laptop computer has several customized applications that are used during the sales process as well as customer relationship management software. all of the applications on the laptops are difficult to configure and have large data files. if all of the laptops have current hardware, what is the easiest way to install windows 10 on them?
Answers: 1
question
Computers and Technology, 23.06.2019 03:00
State 7 common key's for every keyboard
Answers: 1
question
Computers and Technology, 23.06.2019 07:00
What are three software programs for mobile computing?
Answers: 1
question
Computers and Technology, 23.06.2019 07:10
If you want to import a picture into a dtp application, what must you do first? draw an image frame. import text. open the folder containing the file. select get image… from the windows menu.
Answers: 2
You know the right answer?
Write a program that reads each line in a file, reverses its lines, and writes them to another file....
Questions
question
Mathematics, 26.06.2019 17:30
Questions on the website: 13722360