is not feeling well today, and so has decided to create a painful challenge for you.
You are given the following class:
class Magic(object): def method(self): print 'Success' if self is None else 'Fail'
You are to somehow invoke the
method and pass
self. Your code will be run after the above block of code.
To make your life harder,
import, or any other builtin for that matter. Obviously, you will be allowed to access
There will not be input.
Magic.method decides to output, when