Unit 4 Task 7: Is it a vowel?

Learn to code with step-by-step lessons. A place for students to work through programming fundamentals and build skills.

Unit 4 Task 7 - Is it a vowel?

← Unit 4 tasks · Solution


Write is_vowel(ch) where ch is a string of length 1. Return True if it is a vowel (A, E, I, O, U), ignoring case. Otherwise return False.

Skills: return, strings, in or comparisons.