title: python if-else statement returning true only for if condition
body: <p>I am using python to read numeric weather data from a file and then checking the humidity conditions. If the humidity is less than or equal to 75 then the humidity should be re-written as "low" and if the humidity is greater than 75 then it should be re-written as "high". Following is my data in the file.</p>
  
  <p>outlook, temperature, humidity, windy, permission_to_play</p>
  
  <ol>
  <li>sunny,85,85,FALSE,no</li>
  <li>sunny,80,90,TRUE,no</li>
  <li>overcast,83,86,FALSE,yes</li>
  <li>rainy,70,96,FALSE,yes</li>
  <li>rainy,68,80,FALSE,yes</li>
  <li>rainy,65,70,TRUE,no</li>
  <li>overcast,64,65,TRUE,yes</li>
  <li>sunny,72,95,FALSE,no</li>
  <li>sunny,69,70,FALSE,yes</li>
  <li>rainy,75,80,FALSE,yes</li>
  <li>sunny,75,70,TRUE,yes</li>
  <li>overcast,72,90,TRUE,yes</li>
  <li>overcast,81,75,FALSE,yes</li>
  <li>rainy,71,91,TRUE,no</li>
  </ol>
  
  <p>I am reading this file in a list and then accessing the humidity value. Following is the code I have written.</p>
  
  <pre><code>def fetchData(fileName):
      datalist = []
      rd =open(fileName,mode='r')
      list = rd.readlines()
      for l in list:
          subList = l.strip().split(',')
          humidity=subList[2]
          if humidity&gt;75:
              subList[2]="high"
          else:
              subList[2]="low"
          datalist.append(subList)
      return datalist
  
  dataList = fetchData('weather.numeric.data')
  print dataList
  </code></pre>
  
  <p>After execution of this, data numbers 6,7,9,11,13 should have their humidity value as low and the others should be high. But all the humidity values are becoming high, as seen in the output below.</p>
  
  <pre><code>[['sunny', '85', 'high', 'FALSE', 'no'], ['sunny', '80', 'high', 'TRUE', 'no'], ['overcast', '83', 'high', 'FALSE', 'yes'], ['rainy', '70', 'high', 'FALSE', 'yes'], ['rainy', '68', 'high', 'FALSE', 'yes'], ['rainy', '65', 'high', 'TRUE', 'no'], ['overcast', '64', 'high', 'TRUE', 'yes'], ['sunny', '72', 'high', 'FALSE', 'no'], ['sunny', '69', 'high', 'FALSE', 'yes'], ['rainy', '75', 'high', 'FALSE', 'yes'], ['sunny', '75', 'high', 'TRUE', 'yes'], ['overcast', '72', 'high', 'TRUE', 'yes'], ['overcast', '81', 'high', 'FALSE', 'yes'], ['rainy', '71', 'high', 'TRUE', 'no']]
  </code></pre>
  
  <p>what changes should I make?
  Thanks in advance! :)</p>