{% for l in letters %} {{ l[0]|upper + "(" + l[1]|string + ")" }} {% endfor %}