@ -55,3 +55,16 @@ yновая
def transpose_table(table: list)-> list:
return [list (row) for row in zip*(table)]
новая самаяяяяяя
return [list(row) for row in zip(*table)]
table1 = [
[1, 2, 3],
[4, 5, 6]
]
print(transpose_table(table1))
The note is not visible to the blocked user.