Hi everyone. I have been having some trouble creating a list of the Pythagorean square numbers up to 1,000. The problem I have is that I have repeat square numbers which I thought I had found a way to get around. Please see the code:

Due to the reasons discussed here we will be moving to python-forum.io/ on October 1 2016This forum will be locked down and no one will be able to post/edit/create threads, etc. here from thereafter. Please create an account at the new site to continue discussion.

Due to the reasons discussed here we will be moving to python-forum.io/ on October 1 2016This forum will be locked down and no one will be able to post/edit/create threads, etc. here from thereafter. Please create an account at the new site to continue discussion.