You are viewing a single comment's thread. Return to all comments →
ERROR "Your submission contains non ASCII characters, we dont accept submissions with non ASCII characters for this challenge"
What? somebody know what happens here, doesn't allow me to submit the code not even run it
def equalizeArray(arr): # Write your code here dic = {}
for num in arr: if num in dic: dic[num] +=1 else: dic[num] = 0 max_value_rep = max(dict1.values()) return len(arr) - max_value_rep
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 →
ERROR "Your submission contains non ASCII characters, we dont accept submissions with non ASCII characters for this challenge"
What? somebody know what happens here, doesn't allow me to submit the code not even run it
def equalizeArray(arr): # Write your code here dic = {}