A weather app stores daily temperatures in a list. Can you fill in the blanks to display the temperature for Wednesday? Remember, Python uses zero-based indexing for lists.
Midweek mercury mystery
Report a typo
Fill in the gaps with the relevant elements
temperatures = [22, 24, 26, 28, 27, 25, 23]
wednesday_temp = temperatures[2]
("The temperature for Wednesday is: {wednesday_temp}°C\n")Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.