MAGIC solution in Speedy category for The Stone Wall by evarome10
# Create list of lines from a string, rotate it by 90 degrees
wall_list = list(map(''.join, (zip(*wall.split('\n')[1:-1]))))
# Return index of line with minimal count of "#"
return wall_list.index(min(wall_list, key=lambda x: x.count("#")))
Feb. 7, 2019