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 Score Method

Ratik Sharma
Ratik Sharma
32,885 Points

Help! I think the question in this code challenge is framed wrongly.

Please point me in the right direction for this code challenge. Thanks!

1 Answer

Ken Alger
STAFF
Ken Alger
Treehouse Teacher

Ratik;

Here is Mr. Love's hint from this discussion.

Quote:

current_score is a list of two items with both items being 0. current_score[0] is Player 1, current_score[1] is Player 2. If we call score(1), Player 1's score should go up. Same for Player 2 if we call score(2).