logo CodeStepByStep logo

is_all_vowels

Language/Type: Python string

Write a function named is_all_vowels that returns whether a string consists entirely of vowels (a, e, i, o, or u, case-insensitively). For example, is_all_vowels("eiEIo") should return True while is_all_vowels("banana") should return False.

For this exercise, you may assume that a working solution already exists to another exercise, is_vowel, and you may call it in your solution.

Function: Write a Python function as described, not a complete program.

You must log in before you can solve this problem.

Log In

Need help?

Stuck on an exercise? Contact your TA or instructor.

If something seems wrong with our site, please

Is there a problem? Contact us.