Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Python Introducing Dictionaries Introducing Dictionaries Creating a Dictionary

Sou Saeteurn
Sou Saeteurn
1,566 Points

Hi I need help with the dictionary portion. The first assignment

Creating a dictionary

creating_dictionaries.py
student = {'name': ",'topic': python}

2 Answers

You are missing the 2nd item from the first pair. "Value" You also need to watch your syntax. It should be something like Dictionary = {"a":"b" , "c":"d"} Hope this helps

Mark Sebeck
MOD
Mark Sebeck
Treehouse Moderator 28,950 Points

Are you trying to create an empty string for name? If so you need two single quotes not a double quote. Also need python in quotes since its a string. Follow Rodney's syntax above.