Swift - Collections
Find the mistake in this code snippet:
var dict = ["x": 10] var copy = dict copy["y"] = 20 print(dict["y"]!)
var dict = ["x": 10] var copy = dict copy["y"] = 20 print(dict["y"]!)
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions