def affiche(self):

    aff = ''

    if self.deg == 0 and abs(self.coef) != 1:

        X = ''

	elif self.deg == 0:

		X = '1'

    elif self.deg == 1:

        X = 'X'

    else:

        X = 'X^' + str(self.deg)

    if self.coef < 0 and self.coef != -1:

        aff = str(self.coef) + X

	elif self.coef == -1:

		aff = '-' + X

    elif self.coef > 0 and self.coef != 1:

        aff = '+' + str(self.coef) + X 

    elif self.coef == 1:

        aff = '+' + X       

    return aff