Content deleted Content added
→Python (programming language)|Python: correcting section heading and linking |
→Red: copy editing |
||
Line 1,562:
The dictionary keys must be of an [[Immutable object|immutable]] data type. In Python, strings are immutable due to their method of implementation.
===
In [[Red (programming language)|Red]] the built-in <code>map!</code><ref>{{cite web|url=https://doc.red-lang.org/en/datatypes/map.html|title=Map! datatype|website=doc.red-lang.org}}</ref> datatype provides an associative array
A map can be written as a literal, such
<syntaxhighlight lang=Red>
|