HF RL Explorer

Task: Implement Non-Modifying List Concatenation in Python

Task: Implement Non-Modifying List Concatenation in Python: a task in Terminal-Lego-15k (Harbor dataset). In Python, the list.extend() method concatenates two lists but modifies the first list in place. Your task is to create a Python script that demonstrates how to concatenate two lists without…

The task

In Python, the `list.extend()` method concatenates two lists but modifies the first list in place. Your task is to create a Python script that demonstrates how to concatenate two lists **without modifying either of the original lists**.

Part of PrimeIntellect/Terminal-Lego-15k.