Question: Python problem I need help with 1)First copy the lyrics to one of your favorite songs and save it to a file such as lyrics.txt

Python problem I need help with

1)First copy the lyrics to one of your favorite songs and save it to a file such as lyrics.txt. The file must be saved as a text file. Output the number of lines in the file, the number of words and the number of characters. (15 points)

2. P7.8 page 445 Write a program that replaces each line of a file with its reverse. See an example in the book. Use your file lyrics.txt from the assignment above, name your newly created file as lyricsOutput.txt (10 points)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!