Notifications You must be signed in to change notification settings This is a beginner-friendly Python program that counts the number of vowels in a given string. It takes input from the user and ...
vowel_count = sum(1 for char in text if char in vowels) consonets_count = sum(1 for char in text if char.isalpha() and char not in vowels) ...