Wolfram’s automata, a simple implementation with Python

Written by Avy FaingezichtWhere I talk about tech, startups, and economics, plus random thoughts.

Similar

How to Write a Custom Comparator in Python

Generally, you want to use the built-in sorted() function which takes a custom comparator as its parameter. We need to pay attention to the fact that in Python 3 the parameter name and semantics have changed. How the custom comparator works When providing... (more…)

Read more »

Tips for golfing in Python

What general tips do you have for golfing in Python? I'm looking for ideas which can be applied to code-golf problems and which are also at least somewhat specific to Python (e.g. "remove comments"... (more…)

Read more »