본문 바로가기
codeacademy

15. Practice makes Perfect / anti_vowel

by 밝게웃다 2017. 3. 28.
1
2
3
4
5
6
7
8
9
 def anti_vowel(text):
        anti = ""
        vowels = ['A','E','I','O','U','a','e','i','o','u']
        for char in text:
            if char not in vowels:
                anti = anti + char
        return anti
        
print anti_vowel("jejus save us, to save the world!")
cs


if not in 의 신세계!!!

댓글