From 783ba33962b9fcfbf3c1d250c03e0bfd3d1031b4 Mon Sep 17 00:00:00 2001 From: Muhammad Nauman Raza Date: Tue, 14 Jan 2025 09:48:58 +0000 Subject: [PATCH] solutions: 118A --- solutions/118A.py | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 solutions/118A.py diff --git a/solutions/118A.py b/solutions/118A.py new file mode 100644 index 0000000..47c1901 --- /dev/null +++ b/solutions/118A.py @@ -0,0 +1,9 @@ +s = list(input().lower()) + +i = ["a", "e", "i", "o", "u", "y"] +s = [c for c in s if c not in i] + +for idx, i in enumerate(s): + s[idx] = f".{i}" + +print(''.join(c for c in s))