title: I'm not sure why my for loop is not appending the necessary string when I run it?
body: <pre><code>time = list(range(7,25))
  result_time = []
  
  for time in result_time:
      if time &lt; 13:
          time = (&quot;Good morning&quot; + time)
          print(time)
      elif time &gt; 12 and time &lt; 20:
          time = (&quot;Good afternoon&quot; + time)
      elif time &gt; 19:
          time = (&quot;Good evening&quot; + time)
  </code></pre>