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