Multi-dimensional arrays in Python and C#

While solving a problem which requires representation in matrix form, one requires close understanding of how to represent multi-dimensional arrays.

I was trying to explore how to go about having a matrix representation in C# and Python.

Tips:

  • In Python, use the numpy library.

 

 

References:

 

Code: