SyntaxFix
Write A Post
Hire A Developer
Questions
If you use numpy.multiply
numpy.multiply
S = [22, 33, 45.6, 21.6, 51.8] P = 2.45 multiply(S, P)
It gives you as a result
array([53.9 , 80.85, 111.72, 52.92, 126.91])