Sun Aug 01 2021
Remove Vowel
Python Programming1255 views
File Name: remove-vowel.py
#!/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
Author:Geekboots