27 Remove Element Leetcode Solution Python