[Python-ideas] More classical for-loop
rosuav at gmail.com
Fri Feb 17 22:31:40 EST 2017
On Sat, Feb 18, 2017 at 2:13 PM, Joao S. O. Bueno <jsbueno at python.org.br> wrote:
> One can start coding in Python if after a couple minutes of tutorial, he learns
> about "for", "if", "def" and a couple data primitives - and maybe
> "print" and "input"
> for some UI. So, out of 3 needed statements to start coding, you are doubling
> the syntax possibilities on one of them. There s no kidding about
> augmenting the "burden to learn" here.
What's the difference between "for (x in y)" and "for (x of y)"? When
should you use each one? More ways to use a fundamental statement ==
More information about the Python-ideas