Skip to main content
AI Assist is now on Stack Overflow. Start a chat to get instant answers from across the network. Sign up to save and share your chats.
update code formatting
Source Link
Faisal
  • 4.8k
  • 4
  • 43
  • 51

{% for category in ['Action','Drama','Comedy','Anime','Adults','Science fiction'] %}

{{category}}

{% endfor %}
{% for category in ['Action','Drama','Comedy','Anime','Adults','Science fiction'] %} <p class="lead"><a href="">{{category}}</a></p> {% endfor %} 

curly brackets should be single. double bracket is used only for printing the variable and arrays.

{% for category in ['Action','Drama','Comedy','Anime','Adults','Science fiction'] %}

{{category}}

{% endfor %}

curly brackets should be single. double bracket is used only for printing the variable and arrays.

{% for category in ['Action','Drama','Comedy','Anime','Adults','Science fiction'] %} <p class="lead"><a href="">{{category}}</a></p> {% endfor %} 

curly brackets should be single. double bracket is used only for printing the variable and arrays.

Source Link

{% for category in ['Action','Drama','Comedy','Anime','Adults','Science fiction'] %}

{{category}}

{% endfor %}

curly brackets should be single. double bracket is used only for printing the variable and arrays.