Remove Vowel
Python Programming ⚭ Jun 6, 2016 ⚭ 55 views
#!/usr/bin/evn python
vowel = 'aeiouAEIOU'
# To take input from the user
myStr = input("Enter a string: ")
# Remove vowel from the string
noVowel = ""
for char in myStr:
if char not in vowel:
noVowel = noVowel + char
# Display the unvowel string
print(noVowel)
#***** Output *****
Enter a string: I love to write python code
lv t wrt pythn cd