String method: to upper case : String Case « String « Python





String method: to upper case

String method: to upper case
quote = "Python is easy to use."

print "Original quote:"
print quote

print "\nIn uppercase:"
print quote.upper()

print "\nOriginal quote is still:"
print quote
           
       










Related examples in the same category

1.String method: to lower caseString method: to lower case