python lowe code example Example 1: python lower string.lower() Example 2: python string to lower str = 'heLLo WorLD' print(str.lower()) # hello world