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