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 trialDaniel Fragoso
5,333 Points"Bummer! Be sure to use `me.name` to print the attribute!", isn't that what I'm doing?
Can someone help me out with this? I really don't get what I'm doing wrong.
class Student:
name = "Dan"
me=Student()
print (me.name)
1 Answer
miikis
44,957 PointsHey Daniel,
You'll wanna get rid of that space after "print." You should be able to pass the Challenge as soon as you fix that.
Daniel Fragoso
5,333 PointsDaniel Fragoso
5,333 PointsThanks, that worked! I did it with the space in Workspaces and it worked though.
miikis
44,957 Pointsmiikis
44,957 PointsHmm. Weird. Maybe a bug in Workspaces. You'll want to pay special attention to your whitespacing in Python, though. Unlike other languages — like JavaScript — whitespace has a functional value in Python.