inline for loop in python

Viewed 38

Write an inline for loop in python to remove all the numbers from this list of codes and return a clean list.

Ex1:

input_list = ['1apple', '2boy', '3cat4', '5li3on3']

output: ['apple', 'boy', 'cat', 'lion']

0 Answers
Related