Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Boolean comparison w/out if statements

n = int(input("sample number: ")) >= 100
print(n)
Source by edube.org #
 
PREVIOUS NEXT
Tagged: #Boolean #comparison #statements
ADD COMMENT
Topic
Name
6+4 =