DEV Community

Discussion on: Daily Challenge #3 - Vowel Counter

Collapse
 
bauripalash profile image
Palash Bauri 👻

Here comes Another 🚀

Python

def challenge3(s):
    s = s.lower()
    N = 0
    for i in s:
        if i in ["a" , "e" , "i" , "o" , "u"]:
            N += 1
    return N