python string.toupper code example
Example 1: python uppercase
my_string = "this is my string"
print(my_string.upper())
# output: "THIS IS MY STRING"
Example 2: python toupper
str.upper()
my_string = "this is my string"
print(my_string.upper())
# output: "THIS IS MY STRING"
str.upper()