From ddf30ce83aa8bb4193932245240a13004854415a Mon Sep 17 00:00:00 2001 From: Lukas Baumann Date: Thu, 18 Feb 2021 09:18:30 +0100 Subject: [PATCH] Create 1 - Lower-case Characters.py --- 11/a/1 - Lower-case Characters.py | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 11/a/1 - Lower-case Characters.py diff --git a/11/a/1 - Lower-case Characters.py b/11/a/1 - Lower-case Characters.py new file mode 100644 index 0000000..d0c7572 --- /dev/null +++ b/11/a/1 - Lower-case Characters.py @@ -0,0 +1,4 @@ +def lowerChar(char): + if 65 <= ord(char) <= 90: + return chr(ord(char)+32) + return char