title: How to allow user to input and store array using loops- python
body: <p>I am having an issue with my personal project, my python skills are pretty basic but any help would be greatly appreciated</p>
  <p>Question:
  TASK 1
  To simulate the monitoring required, write a routine that allows entry of the baby’s temperature in
  degrees Celsius. The routine should check whether the temperature is within the acceptable range, too
  high or too low and output a suitable message in each case.
  TASK 2
  Write another routine that stores the temperatures taken over a three hour period in an array. This
  routine should output the highest and lowest temperatures and calculate the difference between these
  temperatures.
  NOTE: MORE emphasis on task 2</p>
  <p>my failed attempt:</p>
  <pre><code>from array import array
  print(&quot;BABY TEMPERATURE CHECKER&quot;)
  MinBbyTemp = float(36.0)
  MaxBbyTemp = float(37.5) 
  routTemp = array(&quot;i&quot;, [])
  BabyTemp = float(input(&quot;What is the temperature of the baby?&quot;))
  if BabyTemp &lt; MinBbyTemp:
     print(&quot;The temperature of the baby is low/unusual and needs to be worked on&quot;)
  elif BabyTemp &gt; MaxBbyTemp:
     print(&quot;The temperature of the baby is too high and above the average&quot;)
  else:
     print(&quot;The temperature inputted is out of range&quot;)
  </code></pre>