Python If Else Coding Questions Leetcode Sql