When your son or daughter receives a snake cube puzzle as a Christmas gift — and ... or use the power of Python to sort out the serpentine conundrum and use brute-force to solve it.