Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people's questions, and connect with other people.

Have an account? Sign In

Captcha Click on image to update the captcha.

Have an account? Sign In Now

Sign In

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

Sorry, you do not have a permission to ask a question, You must login to ask question.

Forgot Password?

Need An Account, Sign Up Here
Tech Answered Logo Tech Answered Logo
Sign InSign Up

Tech Answered

Tech Answered Navigation

  • Home
  • Tutorials
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • About Us
  • Blog
  • Contact Us
Home / Questions /Q 3465
Next
In Process
Vipinkv
Vipinkv

Vipinkv

  • India
  • 69 Questions
  • 1 Answer
  • 0 Best Answers
  • 35 Points
View Profile
  • 0
Vipinkv
Asked: October 14, 20212021-10-14T12:12:11+05:30 2021-10-14T12:12:11+05:30In: Python

Python Program To Count The Number Of Vowels In A Sentence?

  • 0

Can anyone answer this question? I got it as a home work question. A little explanation would be great too.

codingcoding languagelanguageobject oriented languageprograming languageprograming languagespythonpython languagepython programpython programingpython programing language
  • 1
  • 1,235
  • 0
  • 0
Answer
Share
  • Facebook

    Related Questions

    • Python Program To Print Stars (*) In Different Patterns?
    • What Is The Python Program To Print The Calendar Of A Particular Month?
    • Write A Python Program To Accept A File Name From The User And Print The Extension Of The File Name.
    • Best Programming Language To Learn in 2021?
    • How to crack Coding Rounds in Technical Interviews?
    • How to create a dictionary in Python
    • How Python is used in Data Science?

    1 Answer

    1. K. S Vijetha Naomi

      K. S Vijetha Naomi

      • India
      • 5 Questions
      • 9 Answers
      • 0 Best Answers
      • 55 Points
      View Profile
      K. S Vijetha Naomi
      2021-10-14T20:10:16+05:30Added an answer on October 14, 2021 at 8:10 pm

      When you have to write a program in Python (Object oriented programming language) for counting the number of vowels in a string, you need to first frame a solution and then write the coding for the program.

      Problem

      By taking a string, the number of vowels in a string are counted.

      The Solution

      1. Store the string taken from a user and store it in a variable.
      2. The count variable should be initialized to 0.
      3. A loop should be used to navigate through the characters in a string.
      4. An If statement can be used for checking whether the character is a vowel or not and set for increasing the count variable in case it is a vowel.
      5. The total number of vowels in the string should be printed.
      6. Exit.

      Program/Source Code

      Source code of the program is given below:

      You can also read:

      • Best Programming Language To Learn in 2021?
      • How to crack Coding Rounds in Technical Interviews?
      • How to create a dictionary in Python
      • How Python is used in Data Science?

       

      • 0
      • Reply
      • Share
        Share
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
        • Share on WhatsApp
    Leave an answer

    Leave an answer
    Cancel reply

    Browse

    Sidebar

    Ask A Question

    More Questions

    • Himasree

      What is the difference between modules and packages in Python?

    • Swathi

      how to remove indentation error in python

    • Swathi

      what is the difference between list and tuple in python

    • Vipinkv

      Python Program To Print Stars (*) In Different Patterns?

    • Vipinkv

      What Is The Python Program To Print The Calendar Of

    • Krishna Vijayan

      Write A Python Program To Accept A File Name From

    • arunraj503

      Addition of two numbers in Python using user input example

    • sita

      how to print complex numbers in python with example program

    Stats

    • Questions 1,987
    • Answers 2,097
    • Posts 12
    • Best Answers 73

    Related Questions

    • Vipinkv

      Python Program To Print Stars (*) In Different Patterns?

    • Vipinkv

      What Is The Python Program To Print The Calendar Of A Particular

    • Krishna Vijayan

      Write A Python Program To Accept A File Name From The User

    • Vipinkv

      Best Programming Language To Learn in 2021?

    • Priyanka Chakraborty

      How to crack Coding Rounds in Technical Interviews?

    • Priyanka Chakraborty

      How to create a dictionary in Python

    • Priyanka Chakraborty

      How Python is used in Data Science?

    • Sidharth

      what is the code to design a doormat in python?

    Explore

    • Home
    • Communities
    • Questions
      • New Questions
      • Trending Questions
      • Must read Questions
      • Hot Questions
    • Polls
    • Tags
    • Badges
    • Users
    • Help

    Footer

    Recent Comments

    • shree on How to use philips citrus press juicer 25 watts Demo
    • kiran kumar85 on How To Insert Names Automatically in Excel Sheet With VBA Code
    • Satish on How To Insert Names Automatically in Excel Sheet With VBA Code
    • jameslaurence on alarm won’t go off while on facetime how to fix
    • jameslaurence on how to solve export problem in kinemaster
    Ask A Question

    Archives

    Tags

    laptop buying guide (1) limit google news notifications (1) printer buying guide (1) stop google news notifications (1) turn off google news notifications (1)

    Social media

    © 2023 @ Techanswered.com.
    Terms, Privacy policy & Sitemap.

    Insert/edit link

    Enter the destination URL

    Or link to existing content

      No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.