Question
To find count vowels and consonants present in any sentence entered by the user
Answer :
Word Count : 201
__________ _________ ____ ______ ___ _____ _____.
__________ ______ _____ _________ __________.
________ ______ __________ ____ _____ ________.
___ ________ _______ __________ ________ ___.
______ ___ __________ ___ ______ _________ __________ ____ ____.
______ _______ ___ ________ ___ _________.
_________ ___ ______ ____ ________ __________ ______ ______ _________ ________.
____ ____ ___ ______ ___ ____.
_______ ________ __________ ___ _______ _________ __________ ______ _____ _____.
_______ ______ ____ _________ ______.
________ ______ _________ ______ _________ ___ ____ ____ __________ __________.
______ ___ ____ _______ ______ __________ __________ _______ ___ _________ _______.
______ ___ __________ ______ ____ _______ ____.
_______ _______ ________ ______ ____ ______ _____ _____ __________ ______ ___.
_____ ______ __________ ___ ________ ____ ___ ___ _______ __________ _____.
____ _____ _______ ______ __________ ____ ____.
____ ______ ____ __________ ________ ______ _______.
_____ _____ _________ ______ _____ __________ __________ ___ _________.
_________ __________ __________ _______ _____ ___ ____.
_____ _______ _______ ______ _____ ___.
___.
Skip in 10
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
consonants = 0
for i in sentence:
if
__________ ______ _____ _________ __________.
________ ______ __________ ____ _____ ________.
___ ________ _______ __________ ________ ___.
______ ___ __________ ___ ______ _________ __________ ____ ____.
______ _______ ___ ________ ___ _________.
_________ ___ ______ ____ ________ __________ ______ ______ _________ ________.
____ ____ ___ ______ ___ ____.
_______ ________ __________ ___ _______ _________ __________ ______ _____ _____.
_______ ______ ____ _________ ______.
________ ______ _________ ______ _________ ___ ____ ____ __________ __________.
______ ___ ____ _______ ______ __________ __________ _______ ___ _________ _______.
______ ___ __________ ______ ____ _______ ____.
_______ _______ ________ ______ ____ ______ _____ _____ __________ ______ ___.
_____ ______ __________ ___ ________ ____ ___ ___ _______ __________ _____.
____ _____ _______ ______ __________ ____ ____.
____ ______ ____ __________ ________ ______ _______.
_____ _____ _________ ______ _____ __________ __________ ___ _________.
_________ __________ __________ _______ _____ ___ ____.
_____ _______ _______ ______ _____ ___.
___.
IGNOU ACADEMY
Your IGNOU journey, made easier.
- Solved Assignments
- Study Notes
- Guess Papers
- Question Papers
Continue Reading — It's Free
Sign in with Google to unlock more of this answer.
✓ Free access
✓ Unlock up to 60% of the answer
✓ No payment required
✓ Unlock up to 60% of the answer
✓ No payment required
Quick Google sign-in. No separate registration form.