You are viewing a single comment's thread. Return to all comments →
replace the len(arr) with n print(n-max([arr.count(i) for i in arr]))
Seems like cookies are disabled on this browser, please enable them to open this website
Equalize the Array
You are viewing a single comment's thread. Return to all comments →
replace the len(arr) with n print(n-max([arr.count(i) for i in arr]))