substring search without using built in utils

Bruno Desthuilliers onurb at xiludom.gro
Thu Nov 9 05:50:42 EST 2006


Gabriel Genellina wrote:
> At Wednesday 8/11/2006 22:29, zeal elite wrote:
> 
>> I am looking for substring search python program without using the
>> built in funtions like find, or 'in'.
> 
> The only reasonable usage for such a constraint would be a school
> assignment so: don't cheat and do your homework!
> 

OTHO, looking for existing solutions to a same or similar problem and
studying them is usually considerer good practice in real-life
programming jobs !-)

-- 
bruno desthuilliers
python -c "print '@'.join(['.'.join([w[::-1] for w in p.split('.')]) for
p in 'onurb at xiludom.gro'.split('@')])"



More information about the Python-list mailing list