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*
-
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.gnat– gnat2015-02-17 21:19:38 +00:00Commented Feb 17, 2015 at 21:19
-
@gnat would the question rephrased as "when should I use iterators or lists in python?" be fine?Florian Margaine– Florian Margaine2015-02-17 21:25:44 +00:00Commented Feb 17, 2015 at 21:25
-
@FlorianMargaine that would put it at risk of being closed as too broad I'm afraidgnat– gnat2015-02-17 21:27:53 +00:00Commented 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.Doval– Doval2015-02-17 21:28:08 +00:00Commented 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.Racheet– Racheet2015-02-18 12:59:13 +00:00Commented Feb 18, 2015 at 12:59
|
Show 1 more comment
How to Edit
- Correct minor typos or mistakes
- Clarify meaning without changing it
- Add related resources or links
- Always respect the author’s intent
- Don’t use edits to reply to the author
How to Format
-
create code fences with backticks ` or tildes ~
```
like so
``` -
add language identifier to highlight code
```python
def function(foo):
print(foo)
``` - put returns between paragraphs
- for linebreak add 2 spaces at end
- _italic_ or **bold**
- indent code by 4 spaces
- backtick escapes
`like _so_` - quote by placing > at start of line
- to make links (use https whenever possible)
<https://example.com>[example](https://example.com)<a href="https://example.com">example</a>
How to Tag
A tag is a keyword or label that categorizes your question with other, similar questions. Choose one or more (up to 5) tags that will help answerers to find and interpret your question.
- complete the sentence: my question is about...
- use tags that describe things or concepts that are essential, not incidental to your question
- favor using existing popular tags
- read the descriptions that appear below the tag
If your question is primarily about a topic for which you can't find a tag:
- combine multiple words into single-words with hyphens (e.g. design-patterns), up to a maximum of 35 characters
- creating new tags is a privilege; if you can't yet create a tag you need, then post this question without it, then ask the community to create it for you
lang-py