numvowels.py

Download numvowels.py file


## numvowels.py (template file)

print("This code should compute the number of vowels in a string.")

## The computation requires 1 input:
input_string   =  input( "Enter a string (e.g. your name): " ) 

## Delete the following line and add your own code here
## to compute the answer.
number_of_vowels = "NOT ATTEMPTED"

print( "The number of vowels in the string is:", number_of_vowels )

# make sure that the answer is the last thing you print!