Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python code to remove vowels from a string

#Chinmay Kotkar
#24-06-2022

str = input("Input: ")
vowels=('A','E','I','O','U','a','e','i','o','u')

for char in str:
    if char in vowels:
        str = str.replace(char,"")
print("Output: ",str)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #code #remove #vowels #string
ADD COMMENT
Topic
Name
2+7 =