def toBitList(inbyte):
 return [getBit(inbyte, b) for b in range(8)]

def toBitList ( inbyte ) : return [ getBit ( inbyte , b ) for b in range ( 8 ) ]
name: tobitlist args: a byte desc: converts a byte into list for access to individual bits .