0

Basketball players from python data science, what's wrong with my code plz tell?

import numpy as np players = np.array((180, 172, 178, 185, 190, 195, 192, 200, 210, 190)) mean = np.sum(players)/players.size v = np.sum((players-mean)**2)/players.size standard_dev = v ** 1/2 print(standard_dev)

8th Jul 2022, 2:21 PM
shifa
shifa - avatar
1 Answer
+ 1
You can link your code like this: Go to Code section, click +, select the programming language, insert your code and save. Come back to this thread, click +, Insert Code, sort for My Code Bits, select your code.
8th Jul 2022, 2:37 PM
Lisa
Lisa - avatar