You are viewing a single comment's thread. Return to all comments →
def average(array): # your code goes here arr=set(array) total = 0 for i in arr: total += i total = total/len(arr) return total
Seems like cookies are disabled on this browser, please enable them to open this website
Introduction to Sets
You are viewing a single comment's thread. Return to all comments →