Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

check if there is a certain number difference with python

In [1]: abs(1-2)
Out[1]: 1

In [2]: abs(2-1)
Out[2]: 1
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #check #number #difference #python
ADD COMMENT
Topic
Name
8+4 =