<doocs>2264.Largest 3-Same-Digit Number in String_1.py
def largestGoodInteger( num: str) -> str:
    for i in range(9, -1, -1):
        t = str(i) * 3
        if t in num:
            return t
    return ''
def sample_funcname ( var_0 : str ) -> str :
    for var_5 in range ( 9 , - 1 , - 1 ) :
        var_7 = str ( var_5 ) * 3
        if var_7 in var_0 :
            return var_7
    return ''
