Please help, ive been battling with this for ages. I have a code:
contents =[
[0, 3, 1, 1, 6, 3, 7, 5, 2, 4, 1],
[0, 3, 4, 5, 11, 14, 21, 26, 28, 32, 33],
[4, 2, 3, 2, 3, 4, 2, 4, 5, 3, 4],
[0, 1, 2, 4, 0, 0, 0, 0, 2, 3, 5],
[0, 4, 6, 9, 11, 14, 21, 26, 30, 35, 38],
[4, 6, 9, 11, 14, 18, 23, 30, 35, 38, 42],
[4, 3, 5, 6, 3, 4, 2, 4, 7, 6, 9],
[0, 0, 0, 0, 0, 0, 3, 3, 0, 0, 0],
]
and i want to print it like for example: code is:
alpha = [
["a", "b", "c", "d", "e"],
["f", "g", "h", "i", "j"],
["k", "l", "m", "n", "o"],
]
result should look like:
["a", "f", "k"]
["b", "g", "l"]
["c", "h", "m"]
["d", "i", "n"]
["e", "j", "o"]