title: Conditional statements using temperature
body: <p>If the temperature is 100 or above, the functions return “It is hot.”;</p>
  
  <p>If the temperature is between 70 and 100, the function returns “It is warm.”;</p>
  
  <p>If the temperature is between 32 and 70, the functions return “It is cool.”;</p>
  
  <p>If the temperature is below 32, it returns “It is cold.”</p>
  
  <p>The function feelTemp will take one value for the temperature, and then returns a category as a string.</p>
  
  <p>When running the program, the user is prompted to input a temperature, then the program print one of the four categorical levels (hot, warm, cool, and cold) that the given temperature falls into.</p>
  
  <p>I have tried this but getting an error in syntax.</p>
  
  <p>What should I do?:</p>
  
  <pre><code>def feelTemp(t):
      if t&lt;=100:
          return "It is hot."
      elif t&gt;=70 and t&lt;=100:
          return "It is warm."
      elif t&gt;=32 and t&lt;=70:
          return "It is cool."
      else:
          return "It is cold."
  feelTemp(105)
  </code></pre>
  
  <p>And how to set an input field as well?</p>