open python shell window you see the familiar python prompt type the following code (pressing enter after each line and pressing enter twice after the last line)class myclassmyvar the first line defines the class containerwhich consists of the keyword class and the class namewhich is myclass every class you create must begin precisely this way you must always include class followed by the class name the second line is the class suite all the elements that comprise the class are called the class suite in this caseyou see class variable named myvarwhich is set to value of every instance of the class will have the same variable and start at the same value type myinstance myclassand press enter you have just created an instance of myclass named myinstance of courseyou'll want to verify that you really have created such an instance step accomplishes that task type myinstance myvar and press enter the output of as shown in figure - demonstrates that myinstance does indeed have class variable named myvar figure - the instance contains the required variable type myinstance __class__ and press enter python displays the class used to create this instanceas shown in figure - the output tells you that this class is part of the __main__ modulewhich means that you typed it directly into the shell