def division_by(a):
    def numero(b):
        assert type(b) == int, "Error, debes usar numeros enteros"
        return b//a
    return numero

def run():
    division_by_3 = division_by(3)
    print(division_by_3(18))
    division_by_5 = division_by(5)
    print(division_by_5(100))
    division_by_18 = division_by(18)
    print(division_by_18(54))
    #error_prueba = division_by(10)
    #print(error_prueba(100.2))

if __name__ == "__main__":
    run()
def division_by(a):
    def numero(b):
        assert type(b) == int, "Error, debes usar numeros enteros"
        return b//a
    return numero

def run():
    division_by_3 = division_by(3)
    print(division_by_3(18))
    division_by_5 = division_by(5)
    print(division_by_5(100))
    division_by_18 = division_by(18)
    print(division_by_18(54))
    #error_prueba = division_by(10)
    #print(error_prueba(100.2))

if __name__ == "__main__":
    run()
#error_prueba = division_by(10) #print(error_prueba(100.2))