Question 3
What will be the output of the following Python code?
from jinja2 import Templatedata = {"id": 101, "prod_name": "Groceries", "sales_amt": 5600,"sales_bonus": 5}
def foo(amount, p): return amount * p / 100
a = foo(data["sales_amt"], data["sales_bonus"])t = Template( "Congratulations, you got bonus {{ bonus }} by selling product{{data['prod_name']}}")output = t.render(data=data, bonus=a)print(output)