Question: PLEASE WRITE THE APPROPRIATE CODE Input/Output (1/0) Alphabetize Try reading the contents of animals.txt and from there create a file named animals-sorted.txt that is sorted
PLEASE WRITE THE APPROPRIATE CODE

Input/Output (1/0) Alphabetize Try reading the contents of animals.txt and from there create a file named animals-sorted.txt that is sorted alphabetically. The following code listing is the body of the animals.txt file. toad lion seal fox owl whale elk Once the program has been executed, the contents of animals-sorted.txt should look like the following
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
