Write a Python Program to Transpose a Matrix #340
Unanswered
iamAntimPal
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Problem Statement
Create a Python program that takes a matrix (2D list) as input and returns its transpose.
What is Matrix Transposition?
Transposing a matrix means flipping it over its diagonal — the row and column indices of each element are swapped.
For example:
Original Matrix:
Transposed Matrix:
Requirements
Expected Output Example
Additional Considerations
Submission Guidelines
basic-python/or an appropriate directory.README.mdexplaining the logic and how to run the script.Acceptance Criteria
Resources
Deadline
Please submit your pull request by 30-04-2025# Problem Statement
Create a Python program that takes a matrix (2D list) as input and returns its transpose.
What is Matrix Transposition?
Transposing a matrix means flipping it over its diagonal — the row and column indices of each element are swapped.
For example:
Original Matrix:
Transposed Matrix:
Requirements
Expected Output Example
Additional Considerations
Submission Guidelines
basic-python/or an appropriate directory.README.mdexplaining the logic and how to run the script.Acceptance Criteria
Resources
Deadline
Please submit your pull request by 30-04-2025
Beta Was this translation helpful? Give feedback.
All reactions