Swap rows and columns of a rectangular matrix
Constraints
Example
```python >>> transpose([[1,2,3],[4,5,6]]) [[1,4],[2,5],[3,6]] >>> transpose([[1],[2],[3]]) [[1,2,3]] >>> transpose([]) [] ```
Recent Submissions
No submissions yet — hit Run Tests to try!
Hints