Java Absolute Value Function Python Example