class car:

    def details(self, model, color):
        self.model = model
        self.color = color
        print(c.model, c.color)
        print("the model number is{},the color is{}".format(model,color))
c=car()
c.details("wrtgc","red")
