Python / How to collect only capital letters from a string

This can be done using filter() along with str.isupper():

No comments:

Post a Comment