Mapping values in python
Learning python recently as well as choosing it as my tool for solving Advent of Code this year, I’ve seen a few ways to call a map type function on a list of data and get a new list based on the data inside. Most commonly I’ve seen list comprehensions. As a non python dev this is most jarring approach, but also one of the simpliest looking once you get the hang of seeing it....