<filename>Section 3/jinja_template/jinja_simple_template.py
from jinja2 import Template

template = Template('Hello {{ name }}!')
print(template.render(name='<NAME>'))


t = Template("My favorite numbers: {% for n in range(1,10) %}{{n}} " "{% endfor %}")
print(t.render())


<filename>Section 3/jinja_template/jinja_simple_template.py
from jinja2 import Template

template = Template('Hello {{ name }}!')
print(template.render(name='<NAME>'))


t = Template("My favorite numbers: {% for n in range(1,10) %}{{n}} " "{% endfor %}")
print(t.render())

