count = 0
vowels = set("aeiouAEIOU")
for alphabet in str:
if alphabet in vowels:
count = count + 1
print("No. of vowels :", count)
str = "The Practical Dev"
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.