Python upper () method
description
Python upper () method in a string lowercase to uppercase letters.
grammar
upper () method syntax:
str.upper()
parameter
- NA.
return value
Returned lowercase to uppercase letter string.
Examples
The following example shows the upper () function to use:
#!/usr/bin/python str = "this is string example....wow!!!"; print "str.upper() : ", str.upper()
Examples of the above output results are as follows:
str.upper() : THIS IS STRING EXAMPLE....WOW!!!