! (HashTable)
Sets a value by key.
Arguments
The
value
to set.key
to set the value by. If no entry with this key exists, an error will occur.table
is the HashTable to update.
Return values
None
Complexity
Amortized constant, O(size) in the worst case.
Example
Output:
nineteen
NINETEEN