title: Get value from an "if " statement with multiple conditions
body: <p>I have an Excel file and I want to extract some values from it whe it finds 7 or 14 or 13 in the following columns: remainingDaysE or remainingDaysG or remainingDaysI</p>
  <p>I am having the following code in Python:</p>
  <pre><code>if remainingDaysE == 7 or  remainingDaysG == 7 or \
              remainingDaysE == 14 or remainingDaysG == 14 or \`enter code here`
              remainingDaysE == 30 or  remainingDaysG == 30:
              
  
              # create an email with values extracted
  </code></pre>
  <p>One of the values that I need would be the value that gets me in the &quot;If statement&quot;</p>
  <p>My question is: Is there any to get the value that got me into this is &quot;if&quot; statement? E.G: Was it remainingDaysE == 7 or was it remainingDaysG ==30 etc.. How do I get that specific value or is there any other way to reformat the code? I hope I made myself clear.</p>
  <p>Thanks!</p>