Question

To find count vowels and consonants present in any sentence entered by the user

27 Apr 2023
Answer :
Word Count : 201

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
Skip in 10
Top
📞
Call Support Instant phone assistance IGNOU MCSL 205 2022 2023 - To find count vowels and consonants present in any sentence entered by | IGNOU Academy
→
🟢
WhatsApp Chat Fast live messaging
→
Email Us Business enquiries & support
→