Introduction to Sets

  • + 0 comments
     res = 0
        for i in range(n):
            res = sum(set(arr))/len(set(arr))
        return res``
             
    				 or 
    				 
    				   return sum(set(array)) / len(set(array))