uppercase python 2 letter in string code example Example: how to change a string to small letter in python my_str = "Hello World" my_str.lower() print(my_str)