HF RL Explorer

Task: Access Index Value in Python For Loop

Task: Access Index Value in Python For Loop: a task in Terminal-Lego-15k (Harbor dataset). You need to write a Python script that iterates over a list and prints each item along with its index. The index should be 1-based (starting from 1, not 0).

The task

You need to write a Python script that iterates over a list and prints each item along with its index. The index should be 1-based (starting from 1, not 0).

Part of PrimeIntellect/Terminal-Lego-15k.