Using Absolute Value In Python Code