dictionary in which the keys are names we'll use in the template to access the data and the values are the data we need to send to the template in this casethere' one key-value pairwhich contains the set of topics we'll display on the page when building page that uses datawe pass the context variable to render(as well as the request object and the path to the template the topics template the template for the topics page receives the context dictionary so the template can use the data that topics(provides make file called topics html in the same directory as index html here' how we can display the topics in the templatetopics html {extends "learning_logs/base html%{block content %topics {for topic in topics %{topic }{empty %no topics have been added yet {endfor %{endblock content %we start by using the {extends %tag to inherit from base htmljust as the index template doesand then open content block the body of this page contains bulleted list of the topics that have been entered in standard htmla bulleted list is called an unordered listindicated by the tags we begin the bulleted list of topics at at we have another template tag equivalent to for loopwhich loops through the list topics from the context dictionary the code used in templates differs from python in some important ways python uses indentation to indicate which lines of for statement are part of loop in templateevery for loop needs an explicit {endfor %tag indicating where the end of the loop occurs so in templateyou'll see loops written like this{for item in list %do something with each item {endfor %inside the loopwe want to turn each topic into an item in the bulleted list to print variable in templatewrap the variable name in double