Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Code Example of Comparing None with empty string

# Declaring an empty string
str = ""
# Comparing None with empty string and printing the result
print (str == None)
Source by softhunt.net #
 
PREVIOUS NEXT
Tagged: #Code #Example #Comparing #None #empty #string
ADD COMMENT
Topic
Name
4+6 =