Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Python Object-Oriented Python Dice Roller Giving a Hand

I am lost...

I dont know if its just me but I am getting lost everywhere,I have so many questions about this, why did he add args and kwargs, what does the repr do, why did he put super().init in line7 of hands.py code, what is he inheriting from there ??? And on top of that I got an error when I tried to test the code in the REPL even though my code is the same as his in the video...I feel like Im on a downfall here...Is it normal to not get this stuff, should I know all of this stuff by now ?

Aleksandar Stankovic
Aleksandar Stankovic
Python Development Techdegree Student 9,648 Points

Feeling the same man, if not worse :-( ... but gotta give it harder try, I understand that this is quite a complex stuff, not a beginner at all. I think it can be understood better only through the practice and examples, maybe some 100 of them and will be good :-).

4 Answers

Steven Parker
Steven Parker
218,639 Points

Plateaus and temporary setbacks are all normal parts of the learning process.

You might find something useful in the bonus series course How to Learn.

Thanks, I watched the course you suggested, I am going to try to take a different approach to this now !

I feel lost too! OOPs concepts were very confusing and by the time, I came to Dice roller, I felt lost too!

Joshua Thao
Joshua Thao
6,438 Points

I am lost because I don't know how Yahtzee is played lol

Wow I thought it was only me who felt this way, but don't worry everything will eventually make sense. You just have to keep practicing, and if you have a hard time understanding what something does try taking it out and see how the code runs without it. That way you'll be able to really understand its purpose

He doesn't explain why he does anything he just does it and hopes you figure it out, you are better off watching a video on youtube to explain whats going on. There are plenty people having this same issue