Annette P.

asked • 06/18/22

Subtraction of two numbers

If I have

A=[3,4,4,3,2,3,1,5,2]

and I calculate the mean for A


np.mean([A])


now I want to subtract 3 from A


How do I do that?

At first I thought I would sum A, then subtract 3, but that doesn't seem right according to the answer book.

Thank you.

1 Expert Answer

By:

Danny E. answered • 06/23/22

Tutor
0 (0)

Former Mid-Level Software Engineer at Microsoft specializing in Python

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.