Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update transposition snippet (python) #634

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Feb 17, 2024

  1. Update transposition snippet (python)

    zip is a nice trick but it doesn't output a matrix. The output of zip is an iterator of tuples. You can't use it for accessing elements of matrix by index.
    
    `transposed_matrix[0][0]` will raise an error
    `TypeError: 'zip' object is not subscriptable`
    pshabunia committed Feb 17, 2024
    Configuration menu
    Copy the full SHA
    3f66dc7 View commit details
    Browse the repository at this point in the history