Remove Duplicates Leetcode Python Beginner Programs