Leetcode Solution Python String Find Numbers