DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
How to use elif in python
x = 20 if x == 20: print("x = 20") elif x == 30: print ("x = 30") else: print("x is not 20 or 30")
Source by tlc.mkce.ac.in #
PREVIOUS
NEXT
Tagged:
#How
#elif
#python
ADD COMMENT
Topic
COMMENT
Name
6+1 =
Submit