csc-python-solutions/11/a/1 - Lower-case Characters.py

5 lines
96 B
Python
Raw Normal View History

2021-02-18 08:18:30 +00:00
def lowerChar(char):
if 65 <= ord(char) <= 90:
return chr(ord(char)+32)
return char