Created
December 5, 2012 05:41
-
-
Save letoh/4212701 to your computer and use it in GitHub Desktop.
one-liner maze
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
| #!/usr/bin/python | |
| # -*- encoding: big5 -*- | |
| # http://10print.org/ | |
| from random import random as r | |
| print "\n".join(["".join([["\xa2\xac", "\xa2\xad"][int(0.5+r())] for i in xrange(40)]) for j in xrange(24)]) | |
| """ | |
| ╲╱╱╲╲╱╱╲╱╲╲╲╱╱╲╲╲╱╱╱╱╱╱╲╱╱╲╱╲╲╱╲╱╱╲╲╲╱╲╱ | |
| ╱╱╱╱╱╲╲╲╱╱╲╱╱╱╱╲╱╲╲╱╱╱╱╲╲╲╱╱╲╱╱╲╲╲╲╲╱╱╲╲ | |
| ╲╲╲╱╲╱╲╲╱╲╱╱╲╱╱╲╲╱╱╲╲╲╱╲╲╲╲╱╱╱╱╱╲╲╱╱╱╲╱╲ | |
| ╱╱╱╲╱╱╱╱╲╲╲╲╱╲╱╱╱╱╱╱╱╲╲╲╱╱╱╲╲╱╲╲╲╱╱╲╱╱╲╲ | |
| ╱╱╱╱╲╱╱╱╲╲╱╱╱╱╱╱╲╲╲╱╱╱╱╱╱╱╱╲╲╲╲╲╱╲╱╲╲╱╲╱ | |
| ╱╱╲╲╲╱╱╲╱╱╱╱╲╱╱╲╱╱╲╲╱╱╱╱╱╲╲╲╱╱╲╱╲╲╲╲╲╲╲╱ | |
| ╱╲╱╱╲╱╲╲╲╲╲╱╱╱╲╲╱╲╲╱╲╱╱╱╲╲╲╲╲╱╱╲╲╲╱╱╲╱╱╲ | |
| ╲╱╲╱╲╲╲╲╲╲╱╲╱╲╱╱╲╲╲╱╲╲╲╱╲╱╲╲╱╱╱╱╲╲╱╲╱╱╲╲ | |
| ╱╱╱╲╱╲╱╱╲╱╲╲╱╱╲╱╲╱╲╲╱╲╱╱╲╲╲╱╱╱╲╱╱╲╲╱╱╱╲╱ | |
| ╲╲╲╲╱╱╱╲╱╱╲╱╲╲╱╱╲╱╲╱╲╲╲╱╱╱╲╲╲╱╲╱╲╱╱╱╱╲╲╱ | |
| ╲╱╲╲╲╱╱╲╲╱╱╱╱╱╲╱╱╲╲╱╲╲╲╱╱╲╲╱╱╲╱╱╲╲╲╲╱╱╲╱ | |
| ╲╲╱╱╱╱╱╱╱╱╱╲╲╲╲╱╲╱╲╲╱╱╲╲╱╲╲╲╲╱╲╲╲╱╲╲╱╲╲╲ | |
| ╱╱╱╱╲╲╱╲╱╲╲╱╱╲╲╲╲╲╱╲╱╲╲╱╲╱╲╲╱╱╱╱╱╱╱╲╱╲╲╲ | |
| ╱╲╱╱╲╲╲╲╲╱╲╲╲╱╱╱╱╱╲╱╲╱╱╲╱╲╲╱╱╲╲╲╲╲╲╱╱╲╲╲ | |
| ╲╲╱╱╱╱╱╲╲╱╱╱╱╲╲╲╲╲╲╲╲╱╱╱╱╱╱╱╲╲╱╲╱╲╱╱╲╱╱╲ | |
| ╲╲╲╱╲╱╱╱╲╲╱╲╱╲╲╲╲╱╱╲╲╲╱╲╱╱╱╲╱╱╲╲╲╲╲╲╱╲╲╲ | |
| ╱╲╲╱╱╱╱╲╲╱╱╲╱╱╱╱╱╱╲╱╲╱╲╲╱╱╲╱╱╲╱╱╲╲╱╱╱╱╱╱ | |
| ╲╱╲╱╲╲╱╲╲╲╱╲╱╲╱╱╱╲╱╲╱╱╱╲╲╱╱╲╱╱╲╱╲╱╲╲╲╲╲╲ | |
| ╱╲╱╲╱╱╱╲╲╱╱╱╲╱╲╱╱╱╲╱╲╲╲╱╱╲╱╲╱╱╱╱╱╲╲╱╱╱╱╱ | |
| ╲╱╲╱╲╱╱╱╱╲╱╱╲╲╱╲╲╱╱╱╱╱╲╱╲╲╱╱╱╲╱╲╲╱╱╱╱╲╱╱ | |
| ╱╲╱╲╱╱╲╱╱╱╲╱╲╲╱╱╲╲╲╲╲╱╲╲╱╲╲╲╲╲╱╱╱╱╱╱╲╲╲╲ | |
| ╱╱╱╱╱╲╲╱╱╲╲╲╲╲╱╱╱╱╱╱╱╱╲╲╲╱╱╲╱╲╱╲╱╱╱╲╲╲╲╲ | |
| ╲╱╱╱╲╲╱╱╱╱╱╲╱╱╲╲╲╲╲╲╲╱╱╱╲╲╲╱╲╱╱╲╲╱╱╱╱╲╲╱ | |
| ╱╲╲╱╱╲╱╲╱╱╲╱╲╲╲╲╲╱╲╱╲╱╱╱╱╱╲╱╱╱╲╱╲╲╱╱╲╱╲╲ | |
| """ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment