String method: to upper case : String Case « String « Python
- Python
- String
- String 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