mystr="Sri Lanka" print( len(mystr) ) print( mystr.upper() ) print( mystr.lower() ) print( mystr[1]) print( mystr[-1])
Showing posts with label reverse. Show all posts
Showing posts with label reverse. Show all posts
Wednesday, January 18, 2012
Python Note 2 (String manipulations)
Code
Subscribe to:
Posts (Atom)