Put in order · Python course · Module 5: Flask and Web Apps

If in Jinja2

How do you start an if condition in Jinja2?

Items to put in order

  • {%
  • %}
  • if animal.endangered

You can check the correct answer by solving this task in the CodeWorlds game.