Question 21
Consider the following Python code snippet:
python: app.py
from string import Templatefrom jinja2 import Template as JinjaTemplateimport sys
mode = sys.argv[1]data = {"user": "Bob", "language": "JavaScript", "project": "web app", "status": "completed"}
template_str = "Hello ${user}! Your {{project}} written in {{language}} is ${status}."
if mode == "hybrid": str_template = Template(template_str) intermediate = str_template.substitute(data) jinja_template = JinjaTemplate(intermediate) result = jinja_template.render(data) print(result)else: jinja_template = JinjaTemplate(template_str) result = jinja_template.render(data) print(result)What will be printed on the terminal for the command: python app.py hybrid ?