Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

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?