Skip to content

Instantly share code, notes, and snippets.



Last active Sep 19, 2015
What would you like to do?
def GB(tag = None):
import sys
if not hasattr(GB, 'badgercount'):
GB.badgercount = 0
sys.stdout.write('Guard badger: %03d is named %s'%(GB.badgercount, 'Stanley' if not tag else tag))
GB.badgercount += 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment