Pages
(Move to ...)
Assignment
Synopsis
C
Graphics
Compiler
C#
DCN
DBMS
Discrete Math
DS
IT Fun
Java
Json
NIELIT
Notes
Office
OOPS
OS
PHP
Project
Phython
Question
SSAD
Web
UGC Net
VB
ASP
▼
Saturday, 12 November 2016
Logical or operator Python
print("Enter a character")
ch=raw_input()
if ch=="a" or ch=="e" or ch=="i" or ch=="o" or ch=="u" or ch=="A" or ch=="E" or ch=="I" or ch=="O" or ch=="U" :
print("\n\tVowel")
else:
print("\n\tConsonant")
Download PDF
Next Topic
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment