You are viewing a single comment's thread. Return to all comments →
print("{:6f}\n{:6f}\n{:6f}".format(len(list(filter(lambda x:x>0,arr)))/len(arr),len(list(filter(lambda x:x<0 , arr)))/len(arr),len(list(filter(lambda x:x==0,arr)))/len(arr)))
Seems like cookies are disabled on this browser, please enable them to open this website
Plus Minus
You are viewing a single comment's thread. Return to all comments →