To find count vowels and consonants present in any sentence entered by the user
Here's a Python code that can count the number of vowels and consonants in a sentence entered by the user:
sentence = input("Enter a sentence: ")
vowels = 0
___ __________ ________ ____ ____ ______ _________ ___ _________ _______ ___ ________.
_____ _____ __________ _________ __________ ___ _____ _______ _______ ____ _________.
_________ ____ _________ __________ __________ ________ ______ ___ _________ ________ ____.
____ _____ ____ _____ _______ ________ ________.
________ _________ ________ ___ _________ ______ ______ _______ ______ _______ ________ ___.
__________ ___ _______ ________ ______ _____.
_______ ___ _______ _______ _____ ________ ________ ______ _____ ___ _______.
________ ________ _________ _________ ____ _______ _________ _______ _______ ________.
________ _____ _______ _____ ______.
_______ _______ ____ _________ ________ _______ ___ __________ ____.
______ ___ ____ ____ _______ ________.
_________ ____ __________ ________ _________ ______ _________ ______ ____ _____ _____ ____.
______ ____ ____ _________ _________ ________ ______ ________ ____ ________.
_____ __________ __________ __________ ____ _____ ________ _________ __________.
______ ____ _________ __________ __________ __________ ___ ___ _______ _____ _____.
__________ __________ _________ _____ __________ _________.
_____ ____ _____ __________ _____ _______ ___ ________.
______ ___ ___ _____ _____ ____ ___ _________ ___ _____ ______ ______.
Get Full Answer on WhatsApp