Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Display vowels in a string using for loop

text = input('Enter text: ')

for char in text:
    if char.lower() in 'aeiou':
        print(char)
Source by www.quizcure.com #
 
PREVIOUS NEXT
Tagged: #Display #vowels #string #loop
ADD COMMENT
Topic
Name
8+7 =