Python easy to understand approach || beginner friendly
\nclass Solution:\n    def checkArithmeticSubarrays(self, nums: List[int], l: List[int], r: List[int]) -> List[bool]:\n        ans = []\n        for i in range(
```\nclass Solution:\n    def checkArithmeticSubarrays(self, nums: List[int], l: List[int], r: List[int]) -> List[bool]:\n        ans = []\n        for i in range(len(l)):\n            check = nums[l[i]:r[i]+1]\n            check.sort()\n            val = check[0]-check[1]\n            flag = True\n            for x,y in itertools.pairwise(check):\n                if x-y != val:\n                    flag = False\n            ans.append(flag)\n        return ans\n```\n**.\n.\n.\n.\n<<< Please Up-Vote if you find this useful >>>**
['Python', 'Python3']