Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def transpose(m):
- result = []
- for i in range(len(m[0])):
- result.append(list(map(lambda x: x[i], m)))
- return result
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement