DAY 8 of PYTHON top 100 questions : from Basic to Advanced !!
Write a Python program to count the number of vowels in a given string :
vowels = set("aeiouAEIOU")
count = 0
string = input("Enter a string: ")
for char in string:
if char in vowels:
count += 1
print("The number of vowels in the string i...
priyachakraborty.hashnode.dev2 min read