HF RL Explorer

Task: Find the Closest Number in a List

Task: Find the Closest Number in a List: a task in Terminal-Lego-15k (Harbor dataset). Write a Python script that finds the number in a list of integers that is closest to a given target value.

The task

Write a Python script that finds the number in a list of integers that is closest to a given target value.

Part of PrimeIntellect/Terminal-Lego-15k.