HF RL Explorer

Task: Get Length of a List in a Jinja2 Template

Task: Get Length of a List in a Jinja2 Template: a task in Terminal-Lego-15k (Harbor dataset). Create a Python script that uses Jinja2 templating to render the number of elements in a list. You must demonstrate how to get the length of a list inside a Jinja2 template.

The task

Create a Python script that uses Jinja2 templating to render the number of elements in a list. You must demonstrate how to get the length of a list inside a Jinja2 template.

Part of PrimeIntellect/Terminal-Lego-15k.