Question: Given a list of strings L, Write a python function that selects all strings ending with a digit and returns the selected strings as a
Given a list of strings L, Write a python function that selects all strings ending with a digit and returns the selected strings as a new list LL. Your program should print the original list L and the list LL containing the selected strings.
EXAMPLE:
['game3','class17','John','CSC4340','peter','23456']
['game3','class17', 'CSC4340', '23456']
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
