Good job! Now that we know how to modify lists, let's move on to working with multiple lists at the same time.
The easiest case is when we create a new list based on an existing list. The example below creates a new list that contains some winter temperatures in Fahrenheit (
fahrenheit_temperatures) based on temperatures in Celsius (
celsius_temperatures = [-10, -7.78, -5, -2.78, 0, 1.67]
fahrenheit_temperatures = 
for time in celsius_temperatures:
fahrenheit_temperatures.append(round(time * 1.8 + 32))
[14, 18, 23, 27, 32, 35]
for loop, we created an empty list named
fahrenheit_temperatures. Within the loop, we iterated over the elements of the old list, processed each element, and appended it to a new list.