Missing Number Problem In Leetcode Playground Python