Skip to Content
Learn
Practice Makes Perfect
anti_vowel

Nice work. Next up: vowels!

Instructions

1.

Define a function called anti_vowel that takes one string, text, as input and returns the text with all of the vowels removed.

For example: anti_vowel("Hey You!") should return "Hy Y!". Don’t count Y as a vowel. Make sure to remove lowercase and uppercase vowels.

Folder Icon

Take this course for free

Already have an account?