Answer the question
In order to leave comments, you need to log in
How to remove letters from a list, add numbers Python?
There is a list -
['R.99', 'R.990', 'R.1190', 'R.1990', 'R.1290', 'R.1390', 'R.1490', 'R.990' ', 'b.1590', 'b.1690', 'b.1790', 'b.1890']
You need to get the following list from it - ['99', '990', '1190', '1990', '1290', '1390', '1490', '990', '1590', '1690', '1790', '1890']
And then add all the numbers in the list and get the answer 13,389
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question