minimum absolute difference in an array python solution

welcome to shbcf.ru