Question · Python course · Module 5: Flask and Web Apps
Displaying a variable
How do you display a 'name' variable in a Jinja2 template?
Answer options
- {% name %}
- {{ name }}
- {# name #}
- <% name %>
You can check the correct answer by solving this task in the CodeWorlds game.