code: def _str(self, indent=""):
          
          if self.ndim <= 1:
              return "[" + ", ".join(str(x) for x in self) + "]"
          elif self.ndim == 2:
              sep = ",\n" + indent
              return "[" + sep.join(x._str(indent + " ") for x in self) + "]"
          else:
              sep = ",\n\n" + indent
              return "[" + sep.join(x._str(indent + " ") for x in self) + "]"
docs: Helper function for __str__