defining method (contd in the definition shown belowone would think that function like baz(in the script below could be called using the syntax baz()but that does not work (we will see later how to define class method in pythonclass class xdef __init__(selfnn)self nn def getn(self)return self def foo(self,arg ,arg ,arg = )self arg arg arg def barself )self foo def baz()pass #--end of class definition ---xobj ( printxobj getn(xobj foo( , printxobj getn(xobj bar(printxobj getn( baz(purdue university the param 'selfis bound to the instance instance method instance method instance method this is not how you define class method error