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 Instant Objects Your first class

Feedback

My answer is correct in that it runs correctly locally but the web thing is saying "Bummer! Couldn't find me".

Please put useful error messages in the web interpreter.

first_class.py
class Student:
    name = 'Dave'


dave = Student
print(dave.name)

1 Answer

Jennifer Nordell
seal-mask
STAFF
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

Hi there, Dave! In my experience, Treehouse staff love to get feedback from its students. However, when you post to the Community you are (for the most part) addressing other students. The best way to make your suggestions and voice heard is to email support at help@teamtreehouse.com.

Not all code that works outside of challenges meet the challenge specifications. The challenge explicitly asks you to create a variable named me and assign a new instance of Student to it. Instead, you chose to name your variable dave, which is why it is saying it can't find me. It was never declared.

That being said, you will also need a set of parentheses after Student to create the new instance.

You typed:

dave = Student
print(dave.name)

But that should be:

me = Student()
print(me.name)

Hope this helps! :sparkles:

I'm past this so I assume I finally noticed the requirement that it be named "me".

Regarding feedback, if they wanted feedback there would be a fairly obvious "feedback" link on the page.