Daily Coding Challenge - Transposed Matrix

Tell us what’s happening:

i need help to understand this transpose thing and matrix am stuck as i am not understanding somethings there and am in need of assistance

Your code so far

def transpose([1,2,3,[4,5,6])

    return matrix

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/148.0.0.0 Safari/537.36

Challenge Information:

Daily Coding Challenge - Transposed Matrix

https://www.freecodecamp.org/learn/daily-coding-challenge/2026-05-09

Github Link: https://github.com/freeCodeCamp/freeCodeCamp/blob/main/curriculum/challenges/english/blocks/daily-coding-challenge/69e2383af7832c8032603b8e.md

Welcome to the forum @dantez1

The example shows that you move everything in a row into a column.

[
  [1, 2, 3],  <<=== this row becomes a column below
  [4, 5, 6]   <<=== this row becomes a column below
]

becomes

[
  [1, 4],
  [2, 5],
  [3, 6]
]

Happy coding