What is wrong with this code?
for (key, value) in [1: "one", 2: "two"] { print(key, value) }
There is nothing wrong with this code
The interaction source is invalid
The interaction variable is invalid
The comma in the print is misplaced Reference: The Swift Programming Language: Language Guide: Control Flow: For-In Loops