The method upper() returns a copy of the string in which all case-based characters have been uppercased.
NA
str.upper()
#!/usr/bin/python str = "this is string example....wow!!!"; print "str.capitalize() : ", str.upper()
When we run above program, it produces following result −
THIS IS STRING EXAMPLE....WOW!!!