code: def cross(self, vec):
          
          if not isinstance(vec, self.__class__):
              raise TypeError('Cross product operand must be a vector')
          return Vector3(0, 0, np.asscalar(np.cross(self, vec)))
docs: Cross product with another vector