newton/solutions/python/118A.py

10 lines
175 B
Python
Raw Normal View History

2025-01-14 09:48:58 +00:00
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))