(self, char='#')
return "\n".join([char*i for i in self.partition])
Prints the ferrer diagram of a partition.

        Examples
        ========

        >>> from sympy.combinatorics.partitions import IntegerPartition
        >>> print(IntegerPartition([1, 1, 5]).as_ferrers())
        #####
        #
        #
Prints the ferrer diagram of a partition.
Prints the ferrer diagram of a partition .
def as_ferrers(self, char='#'):
        """
        Prints the ferrer diagram of a partition.

        Examples
        ========

        >>> from sympy.combinatorics.partitions import IntegerPartition
        >>> print(IntegerPartition([1, 1, 5]).as_ferrers())
        #####
        #
        #
        """
        return "\n".join([char*i for i in self.partition])
def as_ferrers ( self , char = '#' ) : return "\n" . join ( [ char * i for i in self . partition ] )