1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Darina [25.2K]
3 years ago
11

python Assume letters A, E, I, O, and U as the vowels. Write a program that prompts the user to enter a string and displays the

number of vowels and consonants in the string.
Computers and Technology
1 answer:
Roman55 [17]3 years ago
8 0

Answer:

vowels = 0

consonants = 0

string = input("Enter string: ")

for x in string:

   if x.isalpha():

       if x in "AEIOU":

           vowels += 1

       else:

           consonants += 1

print("Vowels =",vowels)

print("Consonants =",consonants)

Explanation:

You might be interested in
If you inadvertently rename a file that is associated with certain apps, the apps may not be able to find the file and may not r
ad-work [718]
No.... This wont happen.... The computer only renames the file and dont let those apps go....in easy words We can say that the comp tells the apps to stay here...
7 0
3 years ago
Read 2 more answers
Networking is the most effective search method for finding job leads.<br> a. True<br> b. False
natima [27]
True.
This is due to most companies having online websites in our era
3 0
3 years ago
Read 2 more answers
Describe the following software process models using your own words .Your explanation should also provide an example of a softwa
avanturin [10]

Answer:

Agile Development is a software methodology which is iterative.

Explanation:

Agile Development is a software methodology which is iterative.it is more useful to develop complex systems where regular touch up meetings/calls happen with the business to showcase their progress and ensure that the application is going in right direction. Compared to Waterfall ,where all phases are in sequence it is more recommended to design and develop complex software projects.

Agile Development is useful for complex software projects where we regularly in touch with the client and take our design and development decisions based on client feedback

Waterfall methodology is useful for simple projects where all the requirements are clear at the beginning and no more changes in requirement are required

6 0
3 years ago
Which of the following statements about credit scores is TRUE?
gtnhenbr [62]
Well considering you didn't add the answer I'm not sure but if you put them up id be more then glad to help
3 0
3 years ago
Make a webpage that shows news <br>​
Nataly_w [17]
Well it all depends how you plan on making it as you would need to know Web Development or you could just copy paste code from YT
8 0
3 years ago
Other questions:
  • The list below represents the contents of a computer's main memory. I've left every other byte blank. Assume that the letters at
    14·1 answer
  • Under which condition below would you expect a glassy extrusive rock like obsidian to form?
    10·2 answers
  • How do you make an app for help
    6·2 answers
  • in your own experience,imagine if someone gained access to any of your social media accounts they could changed your account nam
    11·1 answer
  • Help plz technological wuestion
    9·1 answer
  • How do u reverse image search on Android? ​
    9·1 answer
  • Tech A states that modern vehicles use asbestos as the brake material. Tech B states that asbestos is no longer used in brakes.
    8·1 answer
  • Every time attribute A appears, it is matched with the same value of attribute B, but not the same value of attribute C. Therefo
    11·1 answer
  • Which arcade game, released in 1972, is considered to be the first to be commercially successful?.
    14·1 answer
  • "last month, our sales rose when we increased prices by 15%, so we should raise our prices another 15% this month." which logica
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!