/* */

Wednesday 23 March 2011

-in

in; the membership operator....
name= raw_input('whats yer name? ')
if 's' in name:
    print 'Your name contains the letter "s"'
else:
    print 'Your name doesn't have the letter "s"'

No comments:

Post a Comment