Question: Modify the program below to count and print the number of vowels in the user input. Make sure that the program includes letters that are

Modify the program below to count and print the number of vowels in the user input. Make sure that the program includes letters that are capitalized as well. For example 'I love Python' has 4 vowels (not counting y) def main(): user_input = input("Enter a string: ") vowels = "aeiou" print(user_input)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock