Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #102927
| Newsgroups | comp.lang.python |
|---|---|
| Date | 2016-02-14 16:23 -0800 |
| Message-ID | <25e7431f-a3b1-4a0a-8bca-0d040d5af69b@googlegroups.com> (permalink) |
| Subject | Creating a List from a Loop |
| From | Kaley Tucker <kaleywall93@gmail.com> |
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
Back to comp.lang.python | Previous | Next — Next in thread | Find similar | Unroll thread
Creating a List from a Loop Kaley Tucker <kaleywall93@gmail.com> - 2016-02-14 16:23 -0800 Re: Creating a List from a Loop Chris Angelico <rosuav@gmail.com> - 2016-02-15 11:57 +1100
csiph-web