
text_long = "There were 42 monkeys in the airplane."
text_word = "hello"
text_title = "String Methods"

for t in [text_long, text_word, text_title]:
    print '"%s"' % t
    print "Swapcase:   ",t.swapcase()
    print "Uppercase:  ",t.upper()
    print "Lowercase:  ",t.lower()
    print "Title:      ",t.title()
    print "Capitalize: ",t.capitalize()
    print
