Jump to content
Killersites Community

Ch4 - Python collections number 8 question 2

Recommended Posts

question why in Ch4 Python collections number 8 Question 2 when I try to answer the dictionary my answer is wrong?

shopping_cart = {'apples':40,'grapes':2,'pancakes':20}

when i clicked the hint button i saw that its a square bracket instead of the curly braces

Please advice....



Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now