Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python if not

# Using "if not" is practically saying that, 'if this condition is false......'
a = False
if not a:
  print("a is False")
  
# IS SAME AS:

if a == False:
  print("a is False")
 
PREVIOUS NEXT
Tagged: #python
ADD COMMENT
Topic
Name
9+1 =