title: Problems with a training task python if loop
body: <p>I'm trying to create a loop to gather weather information and printing the days the weather is inside some presets. I am struggling as the print only uses the last input to list the days, and the first inputs are discarded.</p>
  <p>After using updates from the comment, my code looks like this, but it is still not working properly, the code disregards the greater than and less than, and is printing the first 3 days. It also produces this error:   IndexError: string index out of range</p>
  <pre><code>week = ['Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday', 'Sunday']
  
  rainlist = []
  windlist = []
  temperaturelist = []
  
  for day in week:
      rain = input('What is the amount of rain today? ')
      rainlist.append(rain)
  
      wind = input('What is the current windspeed?  ')
      windlist.append(wind)
  
      temperature = input('What is the temperature? ')
      temperaturelist.append(temperature)
  
  for idx, day in enumerate(week) : 
      if rain[idx] &gt; '1':
          print(f'it is more than 1mm rain on {day} . It was  {rainlist[idx]}')
      if wind[idx] &gt; '10':
          print(f'it is more than 10m/s of wind on {day}. It was  {windlist[idx]} m/s')     
      if temperature[idx] &lt; '5':
          print(f'it was less than 5 degrees on {day}. It was {temperaturelist[idx]} degrees celsius')
  </code></pre>