View Single Post
Old Jun 9th, 2006, 4:53 AM   #16
Arevos
Programming Guru
 
Arevos's Avatar
 
Join Date: Aug 2005
Location: England
Posts: 1,499
Rep Power: 5 Arevos is on a distinguished road
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.
Arevos is offline   Reply With Quote