Question: 1. Write a function to keep asking the user for names in the form of strings, sort alphabetically and store these names into a text
1. Write a function to keep asking the user for names in the form of strings, sort alphabetically and store these names into a text file named names.txt
2.
Write a function that accepts a string as the argument, removes all alphabetical letters from the string, and returns it
3. Write a function that accepts a file name in the form of a string as the argument. Assume the text file contains single-digit numbers and letters. Read the entire contents of the text file and return two strings, one with numbers only, the another one with letters only
python
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
