figure - the class method outputs simple message class method can work only with class data it doesn' know about any data associated with an instance of the class you can pass it data as an argumentand the method can return information as neededbut it can' access the instance data as consequenceyou need to exercise care when creating class methods to ensure that they're essentially self-contained creating instance methods an instance method is one that is part of the individual instances you use instance methods to manipulate the data that the class manages as consequenceyou can' use instance methods until you instantiate an object from the class all instance methods accept single argument as minimumself the self argument points at the particular instance that the application is using to manipulate data without the self argumentthe method wouldn' know which instance data to use howeverself isn' considered an accessible argument -the value for self is supplied by pythonand you can' change it as part of calling the method the following steps demonstrate how to create and use instance methods in python 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 sayhello(self)print("hello there!"