Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
mytext = input(" your toughts here " )
vowels = ['a', 'e', 'i', 'o', 'u', 'y', 'A', 'E', 'I', 'O', 'U', 'Y']
result = ''
for letter in mytext:
if letter not in vowels:
result += letter
print(result)
"""
pseudocode:
FOR letter IN text
IF letter NOT IN vowels
result = result + letter
PRINT result
"""