# -*- coding: utf-8 import random from more_itertools import chunked from math import ceil def mulder(): s = u"モルダー あなた 疲れてる のよ".split() s2 = sum([darui(x) for x in chunked(random.sample(s, len(s)), 2)], []) s2.insert(2, u"、") return "".join(s2) def darui(l): a1, a2, b1, b2 = sum([divide_rough(x) for x in l], []) return [a1, a2, b1, b2] if random.randint(0, 1) else [b1, a2, a1, b2] def divide_roug