[Python] Very easy 4 line solution without loop and recursion beats 100%
\nclass Solution:\n    def strWithout3a3b(self, A, B, a = \'a\', b = \'b\'):\n        if A < B:\n            A, B = B, A\n            a, b = b, a\n        retur
```\nclass Solution:\n    def strWithout3a3b(self, A, B, a = \'a\', b = \'b\'):\n        if A < B:\n            A, B = B, A\n            a, b = b, a\n        return ((a + a + b) * (A - B) + (a + b) * (A - 2 * (A - B)))[:A + B]\n```
[]