I noticed that in Python, we can add values of type tuple as index of a dict (dictionary).
Example:
test = {}
test[(1, 2, 3)] = ("um", "dois", "tres")
print test // {(1, 2, 3): ('um', 'dois', 'tres')}
And after the defini...
asked by
17.06.2015 / 17:17