Aug-01-2021, 12:54 PM
Lines 9-16 aren't part of the handler function, so how do you expect them to be executed when a request comes in? Also, the call to
render_template
on line 7 needs to pass the value for the variable line_count
that's used in the template (you use keyword arguments to do so, as described in the docs).