Quick And Easy Leetcode Solution Contains Duplicate Python One Liner

Quick And Easy Leetcode Solution Contains Duplicate Python One Liner