<doocs>0853.Car Fleet_1.py
def carFleet( target, position, speed):
    car = [(pos, spe) for pos, spe in zip(position, speed)]
    car.sort(reverse=True)
    time = [(target - pos) / spe for pos, spe in car]
    ls = []
    for i in time:
        if not ls:
            ls.append(i)
        else:
            if i > ls[-1]:
                ls.append(i)
    return len(ls)
def sample_funcname ( var_0 , var_1 , var_2 ) :
    var_6 = [ ( var_3 , var_4 ) for var_3 , var_4 in zip ( var_1 , var_2 ) ]
    var_6.sort ( var_8 = True )
    var_10 = [ ( var_0 - var_3 ) / var_4 for var_3 , var_4 in var_6 ]
    var_11 = [ ]
    for var_12 in var_10 :
        if not var_11 :
            var_11.append ( var_12 )
        else :
            if var_12 > var_11 [ - 1 ] :
                var_11.append ( var_12 )
    return len ( var_11 )
