We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 76221d1 commit ca9b274Copy full SHA for ca9b274
anti_vowel.py
@@ -0,0 +1,11 @@
1
+# Define a function called anti_vowel that takes one string,
2
+# text, as input and returns the text with all of the vowels removed.
3
+
4
+def anti_vowel(text):
5
+ word = ""
6
+ for i in text:
7
+ if i not in "aeiouAEIOU":
8
+ word += i
9
+ return word
10
11
+print anti_vowel("mayuko")
0 commit comments