string is uppercase python code example Example: python convert string to lowercase # By Alan W. Smith and Petar Ivanov s = "Kilometer" print(s.lower())