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
Get step-by-step solutions from verified subject matter experts
