Idea Leetcode Python Challenges Using Tuples