0

My code for index is at https://pastebin.com/Ct7xCdYv. My code for html is at https://pastebin.com/VFFAWEzc

Currently, I'm just trying to get the code for the stocks in, and will then tackle adding total shares and value for each stock.

Instead, I'm getting the names of just the first stock listed multiple times -- the number of times of all stock owned. I've looked at answers to this same question, but except possibly for one where their code wasn't included, none were quite the same as what I'm doing. Or the solution didn't seem to work for me.

0

I found the solution I needed at

Pset7, Index: How to use loops in Python and Jinja?

Note, in the html, the stock info comes directly from the stocks passed into the html.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .