import timeit
print('Horner', timeit.timeit(stmt='Horner(c,x)', setup=
    'from __main__ import Horner, c, x', number=10000))
print('naive', timeit.timeit(stmt='naive(c,x)', setup=
    'from __main__ import naive, c, x', number=10000))
print('itera', timeit.timeit(stmt='itera(c,x)', setup=
    'from __main__ import itera, c, x', number=10000))
Problems in implementing Horner's method in Python