From 1e6af97d3756d0195beabe6b641cc43d881e0529 Mon Sep 17 00:00:00 2001 From: Jethro Stapelbroek Date: Fri, 23 Jun 2023 22:28:32 +0200 Subject: [PATCH] Count the Vowels --- countthevowels.py | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 countthevowels.py diff --git a/countthevowels.py b/countthevowels.py new file mode 100644 index 0000000..bbac6c9 --- /dev/null +++ b/countthevowels.py @@ -0,0 +1,2 @@ +s = input().strip().lower() +print(sum([s.count(vowel) for vowel in "aeiou"]))