Single Number In Leetcode Python