what is the definition of  a method in python?
 It is created by a class definition, has an associated name space, supports attribute reference, and is callable. The definition is an executable statement and as such can be used whereever an executable statement may occur. 