Ask your own question, for FREE!
Computer Science 21 Online
OpenStudy (anonymous):

Write a recursive function, vowels, that returns the number of vowels in a string. Also, write a program to test your function.

OpenStudy (rsmith6559):

>>> vowels = "aeiou" >>> string = "robert" >>> if( string[1] in vowels ):

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!