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 myclassdef doadd(selfvalue = value = )sum value value print("the sum of { plus { is { format(value value sum)in this caseyou have three instance variables the input argumentsvalue and value have default values of so doadd(can' fail simply because the user forgot to provide values of coursethe user could always supply something other than numbersso you should provide the appropriate checks as part of your code the third instance variable is sumwhich is equal to value value the code simply adds the two numbers together and displays the result type myinstance myclassand press enter python creates an instance of myclass named myinstance type myinstance doadd( and press enter you see the message shown in figure - in this caseyou see the sum of adding and figure - the output is simply the sum of two numbers close the python shell window