python 3 string lowercase code example Example 1: python3 lowercase str.lower() Example 2: python lower string.lower()