how to turn a string into all lowercase in py code example Example: convert string to lowercase in python str = 'HELLO' print(str.lower()) #prints "hello"