Skip to content

Commit

Permalink
Numpy!
Browse files Browse the repository at this point in the history
  • Loading branch information
snehalmastud authored Feb 23, 2020
1 parent 008c324 commit 2f192e5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Numpy/Polynomials/Solution.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import numpy

P = map(float, raw_input().split())
print numpy.polyval(P, int(raw_input()))

0 comments on commit 2f192e5

Please sign in to comment.