Leetcode Unique Element In Python The Line