Python Object-Oriented Python Advanced Objects Double

Alessandro N
Alessandro N
1,410 Points

I really believe this code should pass task 2

I don't see why this code does not pass task 2

class Double(int): def new(*args, **kwargs): return int.new(*args, **kwargs)

doubler.py
class Double(int)
    def __new__(*args, **kwargs):
        return int.__new__(*args, **kwargs)

1 Answer