How could I declare variables in a loop using Twig from a "users" array of objects "user" retrieved from the controller?
user1 = "user1"
user2 = "user2"
...
userN = "userN" (with N length of the array)
{% for user in users %}
{% set user1 = "user1" %}
{% set user2 = "user2" %}
...
{% endfor %}