HF RL Explorer

Task: Find Common Elements Between Two Lists in Python

Task: Find Common Elements Between Two Lists in Python: a task in Terminal-Lego-15k (Harbor dataset). Create a Python function that compares two lists and returns the elements that appear in both lists (the intersection).

The task

Create a Python function that compares two lists and returns the elements that appear in both lists (the intersection).

Part of PrimeIntellect/Terminal-Lego-15k.