Introduction to Sets

  • + 0 comments
    def average(array):
        # your code goes here
        st = list(set(array))
        avg = sum(st)/len(st)
        return float("{:.3f}".format(avg))