Last active
December 17, 2016 02:35
-
-
Save noblejasper/a2a13769e5a476a5ac037544c74a7e10 to your computer and use it in GitHub Desktop.
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
# coding=utf-8 | |
parameters = dict( | |
owner=u"のぶじゃす", | |
name=u"31歳独身貴族日記", | |
action=u"楽しく暮らす", | |
target=u"山とカメラとプログラム", | |
) | |
formats = [ | |
u"{owner} の {name}", | |
u"{target} で {action} {name}", | |
u"{target} で {action} {owner} の {name}", | |
u"{owner} が {target} で {action} {name}", | |
] | |
for format_text in formats: | |
print format_text.format(**parameters) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment