String method: to upper case : String Case : String : Python examples (example source code) Organized by topic

C++
PHP
Python
Python Home »  String   » [  String Case  ]  Screenshots 
 



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 case String method: to lower case
























Home| Contact Us
Copyright 2003 - 04 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.