[Python3] simulation
Please check out this commit for solutions of weekly 267.\n\nclass Solution:\n    def decodeCiphertext(self, encodedText: str, rows: int) -> str:\n        cols 
Please check out this [commit](https://github.com/gaosanyong/leetcode/commit/8d693371fa97ea3b0717d02448c77201b15e5d12) for solutions of weekly 267.\n```\nclass Solution:\n    def decodeCiphertext(self, encodedText: str, rows: int) -> str:\n        cols = len(encodedText)//rows\n        ans = []\n        for offset in range(cols): \n            i, j = 0, offset\n            while i*cols+j < len(encodedText): \n                ans.append(encodedText[i*cols+j])\n                i, j = i+1, j+1\n        return "".join(ans).rstrip()\n```
['Python3']