Leetcode Return Not In Python Operator