Skip to content

Instantly share code, notes, and snippets.

@andijcr
Created October 23, 2017 15:41
Show Gist options
  • Save andijcr/3118e62c3e8bf28cafea8dc95d088940 to your computer and use it in GitHub Desktop.
Save andijcr/3118e62c3e8bf28cafea8dc95d088940 to your computer and use it in GitHub Desktop.
lua:
local a = {}
local b = {}
local cose = {[a]='uno', [b]='due'} --> cose contiene due chiavi differenti
python:
a = ()
b = ()
cose = {a = 'uno', b= 'due' } --> cose condiente l'ultima chiave solo, che ha sovrascritto il valore 'uno' con 'due'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment