Single Number Leetcode Solution In Python For All Selected Lines