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
  Andi Elliott
2,524 Points@price.setter
I'm not sure what is wrong with this, other than @price.setter showing up in a weird colour.
Any idea?
1 Answer
Jennifer Nordell
Treehouse TeacherHi, Andi Elliott! It's a little hard to tell just with a screenshot and my eyesight might not be so great, but it looks to me like you are setting the value of new to a variable named self_price. But I believe you mean to be setting that value on the _price attribute of self with self._price. Note the omission of the . on the first one.
Let me know if this helps! 

Andi Elliott
2,524 PointsAndi Elliott
2,524 PointsInitially this didn't work, but retyping it from scratch seemed to fix it! Thanks :)