All challenges
Code AnalysisHard 45s

Metaclass Instantiation

What is the output?
Starter code
class Meta(type):
    def __call__(cls, *a, **kw):
        print('call', end='')
        return super().__call__(*a, **kw)
class A(metaclass=Meta): pass
a = A()

Think you can answer under pressure?

Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.

Play this in a 3-minute battle