Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagepy
matrix = [[1, 2, 3], [4, 5, 6]]
# To make the matrices easier to read while coding, we can place the different lists vertical to eachother, rather than horizontally.
matrix = [[1, 2, 3],
		  [4, 5, 6]]




Code Block
languagepy
titleCreating a matrix
a = np.array([[1,2],[3,4]])

...