Works fine, if you add a semicolon at the end. ```d import std.stdio;
void main() { string[][string] arr = [ "one": ["abc", "def"], "two": ["ghi", "jkl"], "three": ["mno", "pqr"] ]; writeln(arr); writeln(arr["two"]); writeln(arr["two"][0]); } ```
Danilo via Digitalmars-d-learn Sat, 15 Jul 2023 16:38:04 -0700
Works fine, if you add a semicolon at the end. ```d import std.stdio;
void main() { string[][string] arr = [ "one": ["abc", "def"], "two": ["ghi", "jkl"], "three": ["mno", "pqr"] ]; writeln(arr); writeln(arr["two"]); writeln(arr["two"][0]); } ```