diff options
Diffstat (limited to 'comp/hw/106/3.py')
-rw-r--r-- | comp/hw/106/3.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/comp/hw/106/3.py b/comp/hw/106/3.py new file mode 100644 index 0000000..3f48f70 --- /dev/null +++ b/comp/hw/106/3.py @@ -0,0 +1,9 @@ +vowels = ['a','e','i','o','u'] + +counter = 0 +word = input() +for i in word: + for j in vowels: + if j == i: + counter = counter + 1 +print(counter) |