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
Hunter Kiely
2,768 PointsHelp understanding value.__doc__
Around the 4:50 in the "Switching it UP" video, mark Kenneth Love tries to explain whats going on with the the key and value - printing inside a while loop. Kenneth states that the values are going to be functions because the keys are functions. He then backs up and says he meant values?
Can someone explain this, I am unable to follow the video.
2 Answers
Kenneth Love
Treehouse Guest TeacherSorry, this doesn't mention a specific video so I'm not sure which one you mean. I think this is from the diary application. Is that right?
Kenneth Love
Treehouse Guest TeacherHunter Kiely Yeah, it's just me flubbing a word. The values in the OrderedDict are pointing to functions.
Hunter Kiely
2,768 PointsHunter Kiely
2,768 PointsKenneth Love , this is it: https://teamtreehouse.com/library/using-databases-in-python/our-diary-app/switching-it-up