@KK998/

Find the vowels

Python

No description

fork
loading
Files
  • main.py
main.py
1
2
3
4
5
6
7
s = 'azcbobobegghakleeee'
counter = 0
for i in range(len(s)):
    if s[i] == "a" or s[i] == "e" or s[i] == "i" or s[i] == "o" or s[i] == "u":
        counter += 1
print("Number of vowels:",counter)