You are viewing a single comment's thread. Return to all comments →
Ruthless Python
def plusMinus(arr): print(len([x for x in arr if x > 0])/len(arr)) print(len([x for x in arr if x < 0])/len(arr)) print(len([x for x in arr if x == 0])/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 →
Ruthless Python