Python simple solution
\nclass Solution(object):\n    def reverseStr(self, s, k):\n        """\n        :type s: str\n        :type k: int\n        :rtype: str\n        """\n        n
```\nclass Solution(object):\n    def reverseStr(self, s, k):\n        """\n        :type s: str\n        :type k: int\n        :rtype: str\n        """\n        news = ''\n        n = (len(s) // (2 * k)) * 2 * k\n        for i in range(0, n, 2 * k):\n            news += s[i:i + k][::-1]\n            news += s[i + k:i + 2 * k]\n        if len(s) - n < k:\n            news += s[n:][::-1]\n        else:\n            news += s[n:n + k][::-1]\n            news += s[n + k:]\n        return news\n```
[]