You are viewing a single comment's thread. Return to all comments →
def average(array): a=sum(set(array))/len(set(array)) return a Really i don't understand why it works even though it just prints normally
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 →
def average(array):
a=sum(set(array))/len(set(array))
return a Really i don't understand why it works even though it just prints normally