Skip to content

Instantly share code, notes, and snippets.

@pbexe
Last active October 30, 2015 23:04
Show Gist options
  • Save pbexe/bd2bad1d0354a8fd7192 to your computer and use it in GitHub Desktop.
Save pbexe/bd2bad1d0354a8fd7192 to your computer and use it in GitHub Desktop.
Print
from pprint import pprint
def print():
pprint("False")
@popey456963
Copy link

from pprint import pprint
def print(item):
    import random
    if random.random() > 0.98:
        pprint(item)
    else:
        raise NameError("When Chuck Norris throws exceptions, it’s across the room.")

@pbexe
Copy link
Author

pbexe commented Oct 30, 2015

@popey456963 ooh, fun

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment