Changes

Jump to navigation Jump to search

Pythonic

98 bytes added, 11:53, 17 April 2016
m
<!-- {{SyntaxHighlight| -->
{{Code|Conversion of Python's dict to structure|<syntaxhighlight lang="octave" style="font-size:13px">
> x = pyeval ("{1:'one',2:'two'}");> x.("1")
ans = one
 > x.("2")
ans = two
 
> x = pyeval ("{(1,1):'one',2.5:'two'}");
> x.("(1,1)")
ans = one
 
> x.("2.5")
ans = two
 
</syntaxhighlight>}}
652

edits

Navigation menu