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 Python Collections (2016, retired 2019) Dictionaries Introduction To Dictionaries

At 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

Hi 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.

Oh yes I just realised. Thank you very much

In 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.