<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

def length_prepend(byte_string):
    '''
    bytes -> bytes
    '''
    length = tx.VarInt(len(byte_string))
    return length.to_bytes() + byte_string