Rita Sue and Bob too
M. Clift
noone at here.com
Thu Aug 19 21:42:25 EDT 2004
Hi All,
Can someone help. I promise I've looked how to do this but can't find a
way...
Ok, to find one name is easy
if 'Bob' in list:
print "They were found"
else:
print "They are not in list"
But, how to I find a sequence in a list of unknown size? i.e. this sequence
in list of other names and replace it with three others?
'Rita','Sue','Bob'
This is almost a nightly occurrence (my posting questions), but I am
learning : )
More information about the Python-list
mailing list