pull/634/merge
Pavel 5 days ago committed by GitHub
commit f3302aa0e3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -59,7 +59,7 @@ Many grid-based games can be modeled as a matrix, such as Tic-Tac-Toe, Sudoku, C
Transposing a matrix in Python is simply: Transposing a matrix in Python is simply:
```py ```py
transposed_matrix = zip(*matrix) transposed_matrix = [[matrix[i][j] for i in range(len(matrix))] for j in range(len(matrix[0]))]
``` ```
## Essential questions ## Essential questions

Loading…
Cancel
Save