Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

6
  • Unclear what help you need. Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it’s hard to tell what problem you are trying to solve or what aspect of your approach needs to be corrected or explained. See the How to Ask page for help clarifying this question. Commented Feb 17, 2015 at 21:19
  • @gnat would the question rephrased as "when should I use iterators or lists in python?" be fine? Commented Feb 17, 2015 at 21:25
  • @FlorianMargaine that would put it at risk of being closed as too broad I'm afraid Commented Feb 17, 2015 at 21:27
  • 2
    @FlorianMargaine That would be a good start, but it's still kind of a weak question. Where's the author's research? Surely he can think of a few differences. Asking to enumerate all the situations where you might want to use one or the other isn't that great. Commented Feb 17, 2015 at 21:28
  • 2
    +1 It may be a slightly unclear question, but when you're just learning to use these structures, your questions are going to vaguely formed and worded. I learned a lot from the answers. Commented Feb 18, 2015 at 12:59