$ 0 0 Python's string format method can take a format spec. >>> "{0:b}".format(37)'100101'Format spec docs for Python 2Format spec docs for Python 3