Sha256: fdceb67376b860449e135a38c4b46819c2fe23d759917ebea4189e72f3430e55
Contents?: true
Size: 333 Bytes
Versions: 286
Compression:
Stored size: 333 Bytes
Contents
def proverb(itens, qualifier=''): phrases = ['For want of a {0} the {1} was lost.'.format(el1, el2) for el1, el2 in zip(itens, itens[1:])] qualifier += ' ' if qualifier else '' phrases.append('And all for the want of a {0}{1}.'.format(qualifier, itens[0])) return '\n'.join(phrases)
Version data entries
286 entries across 286 versions & 1 rubygems