def roughsize(size, above=20, mod=10):
    """6 -> '6' 15 -> '15' 134 -> '130+'."""
    if size < above:
        return str(size)

    return "{:d}+".format(size - size % mod)
def roughsize ( size , above = 20 , mod = 10 ) : if size < above : return str ( size ) return "{:d}+" . format ( size - size % mod )
6 -> '6' 15 -> '15' 134 -> '130+'.