<qiyuangong>937_Reorder_Log_Files_1.py
def f(log):
    id_, rest = log.split(" ", 1)
    return (0, rest, id_) if rest[0].isalpha() else (1,)
def sample_funcname ( var_0 ) :
    var_2 , var_5 = var_0.split ( " " , 1 )
    return ( 0 , var_5 , var_2 ) if var_5 [ 0 ].isalpha ( ) else ( 1 , )
