On Fri, 18 Nov 2022 at 18:01, James Johnson <jj126...@gmail.com> wrote: > > Dear Sir: > > This script SHOULD build a grid with staggered columns. I am not satisfied > that it should stagger in the direction that I want it to, but standing > alone, it should do SOMETHING. > > I keep getting a grid of identical rows. Is it my anaconda3; is it a code > optimization? > > I know it sounds like incompetence on my part, but it's pretty > straightforward. > > Am I actually an idiot, or is this an artifact? >
You're re-appending the same row every time. So at the end, it's many references to the same row. This sort of question would be better answered on python-list or python-tutor though, it's not an idea for the future development of Python. ChrisA _______________________________________________ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/3I4VM5EZSQTUD6U2SB53MI6HXBQBMGWP/ Code of Conduct: http://python.org/psf/codeofconduct/