9
suiluj_julius
Last seen 7 months ago
Member for 8 years, 5 months, 9 days
Difficulty Normal
March 11, 2016, 10:13 a.m. | + 1 | for Comment DiZ: `range` in Python is _exclusive_. If you want `l = [1, 2, 3, ..., n]`, then `l = list(range(1, n + 1... |
March 10, 2016, 3:03 p.m. | + 1 | for Comment suic: Hi, yes there are 12 month, but your range contains only 11 elements. Try in REPL (Python 3.x): >>> ... |
Jan. 7, 2016, 3:35 p.m. | + 1 | for Comment bryukh: The author choose near rows and columns range(max(0, row - 1), min(row + 2, len(grid))) For common c... |