string caps python code example
Example 1: from uppercase to lowercase python
# By Alan W. Smith and Petar Ivanov
s = "Kilometer"
print(s.lower())
Example 2: python string caps lock
>>> s = 'sdsd'
>>> s.upper()
'SDSD'
# By Alan W. Smith and Petar Ivanov
s = "Kilometer"
print(s.lower())
>>> s = 'sdsd'
>>> s.upper()
'SDSD'