Contents of this blog: Matrix in python: list.Accepting list elements from user. Matrix is nothing but 2D lists, containing rows and columns. Elements in the 2D lists have positions(index). a=[[1,2…