#create class fruits and make print  an object lemon using dunder methods

class Fruits:

    def __init__(self, name, kind, color):

        self.name = name

        self.kind = kind

        self.color = color

    def __repr__(self):

        return self.name + "is" + self.kind + "and has" + self.color

    def __str__(self):

        return self.name + "is" + self.kind + "and has" + self.color

       

    fruit_1 = Fruits('lemon', 'citrus', 'yellow')

   

    fruit_1

   

    print(fruit_1)