-
-
Save amirbehzad/d9f68fbbe7f6018742594acffeab332f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rules = { 2**x: ['{0:03b}'.format(x).translate(string.maketrans("10","x.")), (x > 0) and (x & 3 == x or x & 3 == 3) * 1] for x in range(8) } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment