Dictionary gives error when i tried to re-assign values.
var dictionary = [:]
dictionary = ["one":"Hello","two":"Good","three":"Morning"]
println(dictionary)
dictionary["two"] = "Night"
println(dictionary)
And error is
Playground execution failed: error: <REPL>:35:17: error: cannot assign to the result of this expression
dictionary["two] = "Night"
~~~~~~~~~~~~~~~ ^