How To Get Positive Difference In Python