Skip to content

Commit 922355c

Browse files
committed
2 parents b08380a + aa4c30d commit 922355c

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/transpose.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
from collections.abc import Iterable
2+
3+
14
def transpose(lst):
25
if len(lst) > 0 and isinstance(lst[0], Iterable) is False:
36
return lst
@@ -8,4 +11,4 @@ def transpose(lst):
811
# print(r)
912

1013
r = transpose([[1, 2, 3], [4, 5, 6]])
11-
print(r)
14+
print(r)

0 commit comments

Comments
 (0)