Question: 8. Write a Python function called backSort () that will accept a list of strings and return a new list that has been sorted
8. Write a Python function called backSort () that will accept a list of strings and return a new list that has been sorted according to the last letter in each string. For example: if z = ['red' 'yellow' 'blue' 'green' 'black'] then backSort (z) will return ['red', 'blue', 'black', 'green', 'yellow']
Step by Step Solution
There are 3 Steps involved in it
Heres a Python function called backsort that does what you described Python def backsortstrings Sort... View full answer
Get step-by-step solutions from verified subject matter experts
