I want acces python lists with a hash:
hashtable = []
hashtable.append(132328df455b0028f13bf0abee51a63a: 'foo' )
But on execution it doesn`t accept the hash as an index:
python3 ./hdd/search.py
File "./hdd/search.py", line 10
hashtable.append(132328df455b0028f13bf0abee51a63a: 'foo' )
SyntaxError: invalid syntax
Is there a possibility to use the list with a hash?
Thanks in advance!
hashtable = {}; hashtable[132328df455b0028f13bf0abee51a63a] = 'foo'?dict?print(hashtable['132328df455b0028f13bf0abee51a63a'])