Copyright © tutorialspoint.com
This method returns a copy of the string in which all case-based characters have been uppercased.
str.upper() |
Here is the detail of parameters:
NA
It returns a copy of the string in which all case-based characters have been uppercased.
#!/usr/bin/python str = "this is string example....wow!!!"; print str.upper(); |
This will produce following result:
THIS IS STRING EXAMPLE....WOW!!! |
Copyright © tutorialspoint.com