0 votes
in Django by

What is the output of the following code?

>>> t = Template(“The car you are searching for is {{ cars.1 }}.”)

>>> c = Context({“cars”: [“Nissan”, “Toyota”, “Honda”]})

>>> t.render(c)

a) incorrect syntax

b) Nissan

c) Toyota

d) Honda

1 Answer

0 votes
by
c) Toyota

Related questions

0 votes
asked Apr 24 in JAVA by Robin
+1 vote
asked Mar 22, 2021 in JavaScript by Robindeniel
...