Remove Vowel

#!/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

#***** Output *****
Enter a string: I love to write python code
 lv t wrt pythn cd

Recommended for you