Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 70053ee

Browse files
committed
DOCS Added docs to matrix_transposition function
1 parent 9b31b68 commit 70053ee

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎main.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ def print_int_array(the_array: [int]) -> None:
7171

7272

7373
def matrix_transposition(the_matrix: [[int]]) -> [[int]]:
74+
"""Return the transposition of a matrix"""
7475
rows = len(the_matrix)
7576
cols = len(the_matrix[0]) # the number of columns remain constant
7677

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /