Python Basics
Python Advanced
Python Useful References
Python Useful Resources
Selected Reading
© 2011 TutorialsPoint.COM
|
Python String upper() Method
Description:
This method returns a copy of the string in which all case-based characters have been uppercased.
Syntax:
Parameters:
Here is the detail of parameters:
Return Value:
It returns a copy of the string in which all case-based characters have been uppercased.
Example:
#!/usr/bin/python
str = "this is string example....wow!!!";
print str.upper();
|
This will produce following result:
THIS IS STRING EXAMPLE....WOW!!!
|
|
|
|