Question 7
Consider the following Python code snippet.
from jinja2 import Template as JTemplatefrom string import Template as STemplate
data = {'name1': 'Alice', 'name2': 'name1', 'age1': '25', 'age2': 'age1', 'job1': 'Engineer', 'job2': 'job1'}
jt = JTemplate("{{name2}} is {{age2}} years old and works as a {{job2}}.")result1 = jt.render(data)print(result1) #first print statement
st = STemplate(result1)result2 = st.substitute(data)print(result2) #second print statementIf the above Python code runs on the terminal, which of the following statements is/are correct?