Checking if two values are approximately the same in python : <p>I have two functions which give me very small numbers. I want to define a <code>IF statements</code> in which If two values are <code>approximately</code> the same print them otherwise <code>pass</code></p>

<pre><code>a = (x, y)
b = (h, p)
If a == b:
   print(a, b)
else:
   pass
</code></pre>

<p>for this we cannot use <code>==</code>. How to define it to be close? Because the order of values maybe like <code>a=7e-25</code>, <code>b=1.5e-26</code></p>
