This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import numpy as np | |
matrix_size = int(input()) | |
def readNxNMatrix(matrix_size): | |
""" | |
Take in string input that's matrix_size number of lines and convert it to a matrix of size matrix_size x matrix_size | |
""" |