Quote:
|
Originally Posted by splinter9x
This question can be answered simply by this statement.... *It is Python*
|
The problem was logic related, rather than a problem with Python itself, so I'm unsure of your point. You don't have to veil your criticisms of Python, but it helps for criticism to be valid, otherwise you just look foolish.
As an aside, you can also use list comprehensions in place of filter:
namelist = [w for w in namelist if w[i] in letters]
Though whether you use list comprehensions or filter/lambda is really a matter of personal choice.