Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python if elif

num = 20
if num > 30:
  print("big")
elif num == 30:
  print("same")
else:
  print("small")
#output: small
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #elif
ADD COMMENT
Topic
Name
9+1 =