title: What is the term for this expression r = (1 if v in c.values() else 0)
body: <p>Is there a specific term/name for this expression <code>r = (1 if v in c.values() else 0)</code> in computer science?</p>
  
  <pre><code>def Query(queries):
      from collections import Counter
  
      c=Counter()
      result=[]
  
      for k,v in queries:
          if k==1:
              c[v]+=1
  
  
          elif k==2 and v in c:
              c[v]-=1
  
          elif k==3:
  
              r = (1 if v in c.values() else 0)
              result+=[r]
  
      return result
  </code></pre>