title: every case of switch is working in case of set
body: <p>I am trying to use switch case in python for removal of elements from set but the problem is that every case of switch h is running</p>
  
  <p>This I have tried this in python 3 </p>
  
  <pre><code>if __name__ == '__main__':
      s = set([1,2,3,4,6,5])
      d = 5
  
  
      switcher = {'pop':s.pop(),
                  'remove':s.remove(5),
                  'discard':s.discard(4)}
      switcher.get('remove', 'nothing')
      print(s)
  
  </code></pre>
  
  <p>{2, 3, 6}</p>
  
  <p>Process finished with exit code 0</p>