RosettaCodeData/Task/Associative-array-Iteration/Potion/associative-array-iteration.potion
2016-12-05 23:44:36 +01:00

4 lines
175 B
Text

mydictionary = (red=0xff0000, green=0x00ff00, blue=0x0000ff)
mydictionary each (key, val): (key, ":", val, "\n") join print.
mydictionary each (key): (key, "\n") join print.