5 ms·
Very curious. To me the opposite happens, if I forget syntax all I want to look at is a simple example, which is often easily found in the official documentatio
by constantcrying 3y ago
Very curious. To me the opposite happens, if I forget syntax all I want to look at is a simple example, which is often easily found in the official documentation
- eviks 3y agotried in one famous doc site: Python search "for key value" We get a more generally worded result only at position #12 (vs. #1-2 in a search engine) And then see the excessive verbiage (though admittedly not the exagerrated 20,000) > The for statement in Python differs a bit from what you may be used to in C or Pascal. Rather than always iterating over an arithmetic progression of numbers (like in Pascal), or giving the user the ability to define both the iteration step and halting condition (as C), Python’s for statement iterates over the items of any sequence (a list or a string), in the order that they appear in the sequence. For example (no pun intended): Indeed, the difference to Pascal is what people are looking for as well as pun clarifications obscuring a single short sequence of substance