parameters: (n, width=None)
return_statement: return l
docstring: Return a list of (0|1)'s for the binary representation of n where n >= 0.
      If you specify a width, it must be > 0, otherwise it is ignored.  The list
      could be padded with 0 bits if width is specified.
docstring_summary: Return a list of (0|1)'s for the binary representation of n where n >= 0.
      If you specify a width, it must be > 0, otherwise it is ignored.  The list
      could be padded with 0 bits if width is specified.
docstring_tokens: Return a list of ( 0|1 ) s for the binary representation of n where n > = 0 . If you specify a width it must be > 0 otherwise it is ignored . The list could be padded with 0 bits if width is specified .
function: def binary(n, width=None):
      """
      Return a list of (0|1)'s for the binary representation of n where n >= 0.
      If you specify a width, it must be > 0, otherwise it is ignored.  The list
      could be padded with 0 bits if width is specified.
      """
      l = []
      if width and width <= 0:
          width = None
      while n > 0:
          l.append(1 if n & 1 else 0)
          n = n >> 1
  
      if width:
          for i in range(width - len(l)):
              l.append(0)
  
      l.reverse()
      return l
function_tokens: def binary ( n , width = None ) : l = [ ] if width and width <= 0 : width = None while n > 0 : l . append ( 1 if n & 1 else 0 ) n = n >> 1 if width : for i in range ( width - len ( l ) ) : l . append ( 0 ) l . reverse ( ) return l