Question: create a function named readfile which opens the existing file names.txt in the python files directory. Read in all names, sort them. and print them
create a function named readfile which opens the existing file names.txt in the python files directory. Read in all names, sort them. and print them out to the screen. Note: there may be several ways to print the sorted names to the screen.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
