PYTHON PROGRAMMING HELP PLEASECreate a program in Python that reads the contents of two files

PYTHON PROGRAMMING HELP PLEASE.Create a program in Python that reads the contents of two files, names.txt and age.txt, and stores the results in two separate lists.Copy the age_list to a new list called age_list_new.Sort the age_list_new.Make a new list called name_list_new and add the names to it in such a way that the order of the names corresponds to the age of the people in the age_list_new list.Write the content of age_list_new and name_list_new into two separate files name sorted_age.txt and sorted_names.txt.Consider all the exceptions may be raised in the program. Your code should have the name of at least two exception.


 
Solved By Verified
Study Co-Pilot All Study Co-Pilots are evaluated by Gotit Pro as an expert in their subject area.

 
Instant
Download

Student review: (2 ratings) 2 out of 2 people found this solution helpful.