| Github | https://github.com/tomribbens |
| Github | https://github.com/tomribbens |
Sometimes, we really do think of complicated solutions when simpler once are available. In #AdventOfCode today, I used the line
layer = [line[i + 1 : i + 2] for i in range(0, len(line), 4)]
And just now realized it could've been much simpler as
layer = [line[i] for i in range(1, len(line), 4)]
I guess I haven't posted an #introduction yet, so here goes:
Hi, I'm Tom, live in #belgium, and am a freelancer in IT. Previously worked mainly with #cisco #UnifiedCommunications products, but now have switched mainly to a dev role using #python.
In my free time, I love dancing #balfolk and playing #boardgames. And watching a good #film or #tvseries is also fun of course.
I practice ethical #polyamory in my relationships.