Creating a List from a Loop

Kaley Tucker kaleywall93 at gmail.com
Sun Feb 14 19:23:39 EST 2016


I'm in an Intro to Python class and have an assignment where I need to implement a function calculating distance between two points, then create a loop to find points within a certain distance and create a list from those points. I was able to create the function, but I cant get my loop to create the list. Any help would be appreciated. I can't figure out the solution from my textbooks or other web sources.

my current work:

https://ghostbin.com/paste/qypvb



More information about the Python-list mailing list