Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

if elif else ladder in python

num = int(input("Enter the number: "))
if num > 0:
	print(num, "is a positive number")
elif num == 0:
	print("0 is a nuteral number")
else:
	print(num, "is a negative number")
Source by www.programiz.com #
 
PREVIOUS NEXT
Tagged: #elif #ladder #python
ADD COMMENT
Topic
Name
8+6 =