Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

difference between = and is not python

In [1]: a = 3424
In [2]: b = 3424

In [3]: a is b
Out[3]: False

In [4]: a == b
Out[4]: True
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #difference #python
ADD COMMENT
Topic
Name
2+1 =