Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
# 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
You can’t perform that action at this time.