Polynomials

  • + 0 comments

    import numpy as np arr = np.array(list(map(float, input().split()))) x = int(input()) print(np.polyval(arr, x))