s = raw_input ("hello whats your name? ")

cm012b5105 cm012b5105 at blueyonder.co.uk
Thu Mar 23 17:04:24 CET 2006

Hi there i am hoping some one could help me out with a small problem i
am in the process of learning python.I am trying to write an interactive
This is a short example.
if s = raw_input ("hello what's your name? ")
if s=='carmel':
Print "Ahh the boss's wife"

What i would like to know is what if she don't write carmel she rights
say carm short of me writing if s=='carm': on a new line is there a
shorter way of doing this so i can cover all angles on how she might
write her name.
Thanks nige
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20060323/162ef1be/attachment.html>

More information about the Python-list mailing list