title: Unique elements of multiple sets
body: <p>I have a list of <code>set</code>s like below. I want to write a function to return the elements that only appear once in those sets. The function I wrote kinda works. I am wondering, is there better way to handle this problem?</p>
  
  <pre><code>s1 = {1, 2, 3, 4}
  s2 = {1, 3, 4}
  s3 = {1, 4}
  s4 = {3, 4}
  s5 = {1, 4, 5}
  
  s = [s1, s2, s3, s4, s5]
  
  def unique(s):
      temp = []
      for i in s:
          temp.extend(list(i))
  
      c = Counter(temp)
      result = set()
      for k,v in c.items():
          if v == 1:
              result.add(k)
  
      return result
  
  unique(s) # will return {2, 5}
  
  </code></pre>