Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

Display vowels in a string using for loop

text = input('Enter text: ')

for char in text:
    if char.lower() in 'aeiou':
        print(char)
Comment

PREVIOUS NEXT
Code Example
Python :: I**2 python 
Python :: compare list and dataframe in pandas 
Python :: hwo to syntax in python 
Python :: how to add background and font color to widget in tkinter 
Python :: python3 vowels and consonants filter 
Python :: inverse matrix gauss python 
Python :: analyse des fleurs du mal la vision du baudelaire 
Python :: how to change color of square in pygame with keypress 
Python :: print(shahzaib) 
Python :: Write a Python program to accept two strings as input and check if they are identical copy of each other or if the second string is a substring of the first string. 
Python :: bassie en adriaan 
Python :: 1: for python position 
Python :: print [url_string for extension in extensionsToCheck if(extension in url_string)] 
Python :: como calcular el rango en python 
Python :: compter des valeur consecutives en python 
Shell :: kill localhost 3000 ubuntu 
Shell :: ubuntu uninstall chrome 
Shell :: refusing to merge unrelated histories 
Shell :: install sklearn with conda 
Shell :: check gnome version 
Shell :: uninstall mariadb server and client in ubuntu 18.4 
Shell :: adb shell list packages 
Shell :: install redis on mac pro 
Shell :: ubuntu play on linux install 
Shell :: start apache2 ubuntu 
Shell :: yarn install windows 
Shell :: how to get list port linux cmd 
Shell :: zsh: command not found: gatsby 
Shell :: remove stopped containers 
Shell :: how to install yup 
ADD CONTENT
Topic
Content
Source link
Name
7+8 =