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