Added for i from ... ['by' step] syntax.
E.g. for i from 0 <= i < 10 by 2: print i 0 2 4 6 8 Old for-from loops remain exactly the same (using the ++ or --). If step is specified, the increment operator will be += step or -= step, depending on the orientation of the inequalities (as before). NOTE: 'by' is now a keyword
Showing
Please register or sign in to comment