in : Member : String PYTHON TUTORIALS


PYTHON TUTORIALS » String » Member »

 

in


name = raw_input('What is your name? ') 
if 's' in name:
    print 'Your name contains the letter "s".
else:
    print 'Your name does not contain the letter "s".'



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


PYTHON TUTORIALS

 Navioo String
» Member