Korrigiert: transpose
This commit is contained in:
1 parent
83717af427
commit
c3ad3ebe44
1 file changed
+2
-2
+2
-2
@@ -92,10 +92,10 @@ if __name__ == "__main__":
|
|||||||
"Expected a ValueError for incompatible dimensions."
|
"Expected a ValueError for incompatible dimensions."
|
||||||
)
|
)
|
||||||
|
|
||||||
assert transpose_matrix(first) == [
|
assert transpose(first) == [
|
||||||
[1, 4],
|
[1, 4],
|
||||||
[2, 5],
|
[2, 5],
|
||||||
[3, 6]
|
[3, 6]
|
||||||
]
|
]
|
||||||
print("Transpose:", transpose_matrix(first))
|
print("Transpose:", transpose(first))
|
||||||
|
|
||||||
Reference in new issue
Block a user