Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python else

boolean1 = (1 != 1)
boolean2 = (2 + 2 == 5)
boolean3 = (1 == 1)

if (boolean1):
	print("Boolean one is true")
elif (boolean2):
	print("Boolean two is true")
else:
	print("Boolean three may, or may not be true")
Source by www.datacamp.com #
 
PREVIOUS NEXT
Tagged: #python
ADD COMMENT
Topic
Name
3+8 =