I need to get rid of an array error. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

I need to get rid of an array error.

How do I get rid of that error? https://code.sololearn.com/cqakAC9pKwZg

26th May 2022, 3:35 PM
Weronika Pucek
Weronika Pucek - avatar
2 Answers
+ 2
Read the error message: math.sqrt() doesn't work o the numpy arrays. For element-wise square root you can use np.sqrt()
26th May 2022, 3:48 PM
Lisa
Lisa - avatar
0
What error
28th May 2022, 12:10 AM
James Andrew