<doocs>2224.Minimum Number of Operations to Convert Time_1.py
def convertTime( current: str, correct: str) -> int:
    a = int(current[:2]) * 60 + int(current[3:])
    b = int(correct[:2]) * 60 + int(correct[3:])
    ans, d = 0, b - a
    for i in [60, 15, 5, 1]:
        ans += d // i
        d %= i
    return ans
def sample_funcname ( var_0 : str , var_2 : str ) -> int :
    var_7 = int ( var_0 [ : 2 ] ) * 60 + int ( var_0 [ 3 : ] )
    var_8 = int ( var_2 [ : 2 ] ) * 60 + int ( var_2 [ 3 : ] )
    var_10 , var_11 = 0 , var_8 - var_7
    for var_15 in [ 60 , 15 , 5 , 1 ] :
        var_10 += var_11 // var_15
        var_11 %= var_15
    return var_10
