Leetcode Problems Solution In Python For All Selected Lines