Skip to content

Instantly share code, notes, and snippets.

@jjangdm
Created January 28, 2013 06:19
Show Gist options
  • Save jjangdm/4653420 to your computer and use it in GitHub Desktop.
Save jjangdm/4653420 to your computer and use it in GitHub Desktop.
Making a table
x = [1,2,3,4,5]
y = ['a','b','c','d','e','f']
{% for i in x %}
<tr>
{% for j in y %}
<td>{{ i }},{{ j }}</td>
{% endfor %}
</tr>
{% endfor %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment