import numpy as np


def buscar(id):
    # buscar id en base de datos
    # result =  [fecha, num]
    # [fecha, num]
    # [fecha, num]
    # [fecha, num]

    [x[1] for x in result]
    if id == 1:
        return np.array([1, 2, 3, 4, 5, 6, 7, 8, 9])
    else:
        return np.array([9, 8, 7, 6, 5, 4, 3, 2, 1])


print(eval('buscar(1)/buscar(2)'))
