Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python check none

a = None
b = 5

if(a is None):
    print("A is None")
    
if(b is not None):
    print("B is not None")
Source by www.delftstack.com #
 
PREVIOUS NEXT
Tagged: #python #check
ADD COMMENT
Topic
Name
7+2 =