@siddharthvj1

def count_vowels(text):
  
    text = text.lower()
    
    
    vowel_count = 0
   
    vowels = set("aeiou")
  
    for char in text:

        if char in vowels:
            vowel_count += 1
    
    return vowel_count


text = "Hello, World!"
result = count_vowels(text)
print("Number of vowels:", result)

@siddharthvj1

count_vowels = lambda text: sum(1 for char in text.lower() if char in "aeiou")