Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

boolean in python

#In programming you often need to know if an expression is True or False. 
#as you can see below
a = 200
b = 33

if b > a:
  print("b is greater than a")
else:
  print("b is not greater than a")
Source by www.programiz.com #
 
PREVIOUS NEXT
Tagged: #boolean #python
ADD COMMENT
Topic
Name
2+4 =