16
Dean Agan
Last seen 8 months ago
Member for 10 years, 8 months, 2 days
Difficulty Normal
This is nice. I find this way easier to read than what I did before. :)
More
The lambda is equivalent to:
def check_if_upper(ch):
if ch.isupper():
return True
return False
what filter does is it takes a function object which is the lambda above, and passes each character from text.
At the end, filter will return the filtered items (note fi
More
Please ignore the extra import. Note to self - clean up before submission.
More