Skip to content

Commit 34f97ec

Browse files
poly added
1 parent f6da184 commit 34f97ec

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Numpy/Polynomials/Solution.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import numpy as np
2+
3+
poly = [float(x) for x in input().split()]
4+
x = float(input())
5+
print(np.polyval(poly, x))

0 commit comments

Comments
 (0)