python numpy key value add element to dictionary code example Example: add value to dictionary python dict[key] = value