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