Light Mode
Dark Mode
Nested for loops

I would like to give some feedback about ...

From: http://www.checkio.org/mission/count-neighbours/solve/

I wrote essentially-

for a in [-1,0,1]: for b in [-1,0,1]: print 'coordinate',a,b

and the result was -1 -1 -1 -1 -1 -1 0 0 0 0 0 0 1 1 1 1 1 1 This isn't how this is supposed to work. Why does this happen in your IDE?

  • feedback
Created: Nov. 15, 2015, 12:37 a.m.
Updated: Nov. 16, 2015, 10:54 a.m.
0
2
User avatar
bfox