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 trialEswar Ambati
890 PointsAt 4:05 I am getting different output why?
At 4:05 When I typed the same dictionary and clicked enter I get … in the console instead of the dictionary being outputted?
Why?
1 Answer
Christopher Frederick
6,547 PointsHi Eswar,
It sounds like you didn't place a closing bracket at the end of your dictionary. Not doing this will result in ... because there are still additional key/value sets that are expected on your new line since the dictionary is not closed.
Eswar Ambati
890 PointsEswar Ambati
890 PointsOh yes I just realised. Thank you very much
neilkimmelfield2
1,158 Pointsneilkimmelfield2
1,158 PointsIn the video, at 4:14, I am seeing that Ken omitted the second closing bracket. I can't figure out why the code actually ran in the console in the video.