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