Introduction to Sets

  • + 0 comments
    def average(array):
        # your code goes here
        x = set(arr)
        return f'{(sum(x) / len(x)):.3f}'