Question: Write in python please Write a program to read in each line of your text file, sort all possible words contained in each line (if

Write in python please
Write a program to read in each line of your text file, sort all possible words contained in each line (if the line is blank or has only one word, just output it to the new file), then output each new line with one space between the sorted words to a new file called "sorted lines.tx". For example, if the line is: A quick brown fox jumped over the lazy dog The output line is: A brown dog. fox jumped lazy over quick the
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
