Question: how to find the difference between 2 numbers in python?
Answer: Just use abs(x - y) . This'll return the net difference between the two as a positive value, regardless of which value is larger.