Welcome to the Treehouse Community
Looking to learn something new?
Adam Blomberg700 Points
Why doesn't i get any error, but at the same time a bummer?
What have i done wrong in this test? I don't get any error, but i do not pass this challenge.
let currencies = ["US": "Dollar", "UK": "Pound", "JP": "Yen"] let ukCurrency = ["UK"]
You need to access the
currencies dictionary with the "
UK" key. That looks like:
let ukCurrency = currencies["UK"]
You can access the
currencies dictionary by providing a key; this will return the value associated with that key. You can then assign that returned value to your constant,
I hope that makes sense.