HF RL Explorer

Task: Implement a Safe "get" Method for Python Lists

Task: Implement a Safe "get" Method for Python Lists: a task in Terminal-Lego-15k (Harbor dataset). In Python, dictionaries have a safe .get() method that returns a default value instead of raising a KeyError when a key doesn't exist:

The task

In Python, dictionaries have a safe `.get()` method that returns a default value instead of raising a `KeyError` when a key doesn't exist:

Part of PrimeIntellect/Terminal-Lego-15k.