H@CK DEFENCE
A BLOG ON NETWORK SECURITY, ETHICAL HACKING AND PROGRAMMING
Welcome To The World Of Hacking
Learn Hacking|Teach Hacking|Learn To Secure|Learn To Code
Friday
PYTHON TUTORIAL 16: ELIF & ELSE STATEMENT
x=5;
if x==3:
print 'ok'
elif x==4:
print 'Not sure about it'
elif x==5:
print 'Exactly what i said'
else:
print 'I am the last option'
OUTPUT:
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment