Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to negate a boolean python

a = True

print(a) #returns True
print(not a) #returns False
 
PREVIOUS NEXT
Tagged: #negate #boolean #python
ADD COMMENT
Topic
Name
1+3 =