This file contains 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/env python3 | |
"""Daily Programmer Challenge #224 [Hard] Langford Strings | |
https://www.reddit.com/r/dailyprogrammer/ | |
""" | |
from string import ascii_uppercase | |
from copy import copy |
This file contains 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
[ | |
{"name": "the example", | |
"diagram": [ | |
" +----+", | |
" | |", | |
"+-------------------------+-----+----+", | |
"| | | |", | |
"| +-------------------+-----+ |", | |
"| | | | |", | |
"| | | | |", |
This file contains 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/env python3 | |
"""Pretty star picture maker. | |
This is the ungolfed version. | |
http://codegolf.stackexchange.com/questions/53124/the-colors-in-our-stars | |
""" | |
from collections import namedtuple |
This file contains 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
<!DOCTYPE html> | |
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> | |
<head> | |
<meta charset="utf-8"/> | |
<title>SVG Generator</title> | |
<style type="text/css"> | |
figure { | |
width: 45%; | |
float: right; | |
} |
NewerOlder