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 (retired) Inheritance __str__

where is it

from game import Game

class GameScore(Game):

i't telling me i have a syntax error, where do i have a syntax error?

1 Answer

Kenneth Love
STAFF
Kenneth Love
Treehouse Guest Teacher

Put pass or a comment right inside your class.

I think you should explain a bit more in the challenges descriptions, for example, I see no point in using pass without a reason. I love the videos, I just get a bit confused in challenges. :)

Kenneth Love
Kenneth Love
Treehouse Guest Teacher

Josue Sotelo it's true that I didn't talk about pass in the videos. Sorry about that. The code challenge does recommend using pass, though, to make an empty class. I'll add more info on that, though.