Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

check value vowel user input python

# taking user input
ch = input("Enter a character: ")

if(ch=='A' or ch=='a' or ch=='E' or ch =='e' or ch=='I'
 or ch=='i' or ch=='O' or ch=='o' or ch=='U' or ch=='u'):
    print(ch, "is a Vowel")
else:
    print(ch, "is a Consonant")
Comment

PREVIOUS NEXT
Code Example
Python :: df reanme columns 
Python :: generate 12 random numbers python 
Python :: pandas series select first value 
Python :: python calling dynamic function on object 
Python :: pandas datetime to date 
Python :: python f string round 
Python :: wait for page to load selenium python 
Python :: button icon pyqt5 
Python :: python seaborn heatmap decrease annot size 
Python :: python temp directory 
Python :: how to set screen brightness automatically depending on battery percentage using python 
Python :: changes not showing on website server odoo 
Python :: how to access a private attribute in child class python 
Python :: How do I start a DataFrame index from 1? 
Python :: python counter get most common 
Python :: How to use PatBlt in Python 
Python :: save np array as mat file 
Python :: how to make pyautogui search a region of the screen 
Python :: join pyspark stackoverflow 
Python :: programe to check if a is divisible 
Python :: calculate the addition of two lists in python 
Python :: python pandas how to load csv file 
Python :: cv2 waitkey 
Python :: get hwid python 
Python :: how to change angle of 3d plot python 
Python :: how to say hello with name in python 
Python :: get dictionary in array python by value 
Python :: do you have to qualift for mosp twice? 
Python :: get difference of images python 
Python :: number of total words in cell pandas 
ADD CONTENT
Topic
Content
Source link
Name
9+7 =