Format Code Repeat Counts?

Scott David Daniels Scott.Daniels at Acm.Org
Fri Aug 14 01:17:57 EDT 2009


MRAB wrote:
> The shortest I can come up with is:
>     "[" + "][".join(letters) + "]"

Maybe a golf shot:
       "][".join(letters).join("[]")


--Scott David Daniels
Scott.Daniels at Acm.Org



More information about the Python-list mailing list