[Python] 5 lines- only by '0' count for beginner
Time complexity: O(n)\n- Space complexity: O(1)\n\nclass Solution(object):\n    def abbreviateProduct(self, left, right):\n        t, k = str(reduce(operator.mu
- Time complexity: $$O(n)$$\n- Space complexity: $$O(1)$$\n```\nclass Solution(object):\n    def abbreviateProduct(self, left, right):\n        t, k = str(reduce(operator.mul,range(left,right+1))), 0\n        while t[-k-1]==\'0\': k +=1\n        if k: t=t[:-k]\n        if len(t)>10: t=t[:5]+\'...\'+t[-5:]\n        return t+\'e\'+str(k)\n```
['Python']