# your code goes here class Test: def mamku(self): return "mamku ebal" def call(self, method): if hasattr(self, method): return self.method() test = Test() print test.call("mamku")
Standard input is empty
Standard output is empty
Traceback (most recent call last): File "prog.py", line 12, in <module> File "prog.py", line 9, in call AttributeError: Test instance has no attribute 'method'