car "red[end of exampleexercise create the class in separate python file we start by creating the class and then we save the code in "car py" car car def init model model model color color def displaycar model print color listing define python class in separate file then we create python script (testcar pywhere we are using the classi car from car im por car lets using the class car "red car displaycar ( car ford green model print car car volvo blue model print car =black car displaycar (listing script that is using the class notice the following line at the top from car im por car [language=python[end of example