@@ -0,0 +1,293 @@
+class Solution(object):%0A    def reverseStr(self, s, k):%0A        %22%22%22%0A        :type s: str%0A        :type k: int%0A        :rtype: str%0A        %22%22%22%0A        ans = %5B%5D%0A        for i in xrange(0, len(s), k * 2):%0A            ans.append(s%5Bi:i + k%5D%5B::-1%5D + s%5Bi + k:i + 2 * k%5D)%0A        return ''.join(ans)%0A%0A

Add py solution for 541. Reverse String II