結果 : check for consecutive numbers in array python