# leetle

## 40. Zigzag Conversion

Write a function `solve` that reads a string in a zigzag pattern on a given number of rows, then returns the row-by-row read string. If 'zigzag pattern' is unclear, see the relevant [question](https://leetcode.com/problems/zigzag-conversion/description/).

**Example:**  
Input: "PAYPALISHIRING", 3  
Output: "PAHNAPLSIIGYIR"

Make sure you `return` your solution, don't print!

```python

def solve(s, numRows):
    pass
```
