Leetcode Find Missing And Repeating Element In Python For All Selected Lines