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 -- https://mail.python.org/mailman/listinfo/python-list