Missing Number In Arithmetic Progression Leetcode Python Coding