title: Basic Python if statement logic
body: <p>Can someone tell me why the code executes the first if statement and not the second one when I enter &quot;p&quot; into the console in python? I expect it to print out the second statement of 45.45</p>
  <p>weight = 100 #int(input(&quot;Weight &quot;)) <br>
  conversion = input(&quot;kilograms or pounds: &quot;)
  <br>
  if conversion in &quot;k&quot; or &quot;K&quot;:
  <br>
     print(weight * 2.2)
  <br>
  elif conversion in &quot;p&quot; or &quot;P&quot;:
  <br>
     print(weight // 2.2)</p>
  <hr />
  <p>output:<br>
  kilo or pounds: p
  <br>
  220.00000000000003</p>