bright chibuike3,245 Points
please what could the solution to this question
Now override new. Create a new int instance from whatever is passed in as arguments and keyword arguments. Return that instance.
You should remove the pass.
class Double(int): def __new__(*args,**kwargs):
Steven Parker207,988 Points
You've removed the "pass", but you still need to do the other parts of the instructions:
- Create a new
- and then ... Return that instance.
Miranda Chen6,945 Points
First create the int instance
self = int.__new__(*args, *kwargs)
Then return the instance