I am trying to find the mean of a list. I believe the negative number in the beginning of my list is somehow throwing me for a loop. Please show me the proper way to find the mean of this simple list.
B = [−5,3,12,190,−10]
print(np.mean(B))
#OUTPUT:
File "<ipython-input-35-5b44dec66063>", line 1
B = [−5,3,12,190,−10]
^
SyntaxError: invalid character in identifier