Python Object-Oriented Python Advanced Objects Double

Not Sure How To Do This One. Can Someone Help Me?

Some Help Would Be Nice.

doubler.py

1 Answer

The challenge asks you to make a class named Double. The class extends the int object, and for your code, you're to put pass. If you're struggling with the code, here's how to do it:

class Double(int):
    pass

Please don't just copy my code and move on. If you still don't get it, just ask and I'll be glad to assist!

I'm still having a problem man. I can't figure out what I did wrong.

What is the problem? I tested the code and passed without a problem. Are you having the problem with the first step or with the other steps?