Task: Using a Python Dictionary as a Key (Non-nested)
Task: Using a Python Dictionary as a Key (Non-nested): a task in Terminal-Lego-15k (Harbor dataset). Python doesn't allow dictionaries to be used as keys in other dictionaries because dictionaries are mutable and therefore not hashable. Your task is to implement a solution that enables using…
The task
Python doesn't allow dictionaries to be used as keys in other dictionaries because dictionaries are mutable and therefore not hashable. Your task is to implement a solution that enables using non-nested dictionaries as keys in another dictionary.
Part of PrimeIntellect/Terminal-Lego-15k.