Skip to content

Instantly share code, notes, and snippets.

@blammothyst
Created February 27, 2014 20:30

Revisions

  1. blammothyst created this gist Feb 27, 2014.
    12 changes: 12 additions & 0 deletions LPTHWex8
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,12 @@
    formatter= "%r %r %r %r"

    print formatter % (1, 2, 3, 4)
    print formatter % ("one", "two", "three", "four")
    print formatter % (True, False, False, True)
    print formatter % (formatter, formatter, formatter, formatter)
    print formatter % (
    "I had this thing.",
    "That could type up right.",
    "But it didn't sing.",
    "So I said goodnight."
    )