You are reading a single comment by @danb and its replies.
Click here to read the full conversation.
-
Yeah, I guess because I took the easy way out on the first bit because the y increment was just 1. The final set of steps was the other way round.
I think one of the issues with being relatively green coder is that I doubt a lot of my methods, so end up checking all my indexing etc and stuff like that, when in reality my issue is much more simplistic.
Last test of second part tripped me up because I had 'y' incrementing by 1 each step, rather than 'dy'.
Took me bloody ages to figure that out, not as bad as not reading the bloody question yesterday though.
https://github.com/lewfowls/AoC2020/blob/main/Day3code.py