Jump to content
Killersites Community
hobie

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

Ch4_Python_collections_8_question_2.jpg

Ch4_8_Question_2_wrong.jpg

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

×