You are viewing a single comment's thread. Return to all comments →
def average(array)-> float: array_set: set[int] = set(array) set_count: int = len(array_set) average: float = sum(array_set) / set_count return round(average, 3)
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 →