Absolute Value Method Python Definition Functional Equivalent