Leetcode 856 Python Tutorial W3schools