View raw

1 import numpy as np 2 3 p = [1, 2, 3, 8, 8] 4 r = np.roots(p) 5 print(np.around(r, 2)) 6