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