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 Dice Roller Giving a Hand

Eldin Guzin
Eldin Guzin
6,010 Points

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
seal-mask
.a{fill-rule:evenodd;}techdegree
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
231,248 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.

Eldin Guzin
Eldin Guzin
6,010 Points

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,439 Points

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

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

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