4 ms·
For small scoped loops, I usually just abbreviate to the first letter. I'm not sure how others feel about this, but I think it's perfectly legible: for i in
by AncientPC 14y ago
For small scoped loops, I usually just abbreviate to the first letter. I'm not sure how others feel about this, but I think it's perfectly legible:
for i in items:
i += 1
for r in rows:
for c in columns:
matrix[r][c] *= 2