<qiyuangong>717_1-bit_and_2-bit_Characters_2.py
def isOneBitCharacter( bits):
    pos = len(bits) - 2
    
    while pos >= 0 and bits[pos] > 0:
        pos -= 1
    
    return (len(bits) - pos) % 2 == 0
def sample_funcname ( var_0 ) :
    var_3 = len ( var_0 ) - 2
    while var_3 >= 0 and var_0 [ var_3 ] > 0 :
        var_3 -= 1
    return ( len ( var_0 ) - var_3 ) % 2 == 0
