The following table represents the average temperatures in San Francisco for the first three months of 2017...

50.1K

Verified Solution

Question

Programming

The following table represents the average temperatures in SanFrancisco for the first three
months of 2017 and 2018. Use Python

2017    2018
Days Jan Feb March Jan Feb March
1 50 52 42 51 62 54
2 48 57 43 55 62 51
3 52 58 44 55 63 48
4 52 57 51 58 64 48
5 46 56 50 59 63 51

1. Using this table, create 2 Nested Lists, one for eachyear.

Call those lists temp_2017 and temp_2018.
Each of those lists is composed of 3 sequence of values. Eachsequence corresponds to a
month and is composed of 5 temperatures.   

2. Using the created nested lists, write a script thatdisplay:

a. The temperatures for each of the first 5 days of February2017
b. The temperatures for each of the third, fourth and fifth day ofMarch 2018
c. The temperature for January 3rd, 2018

Answer & Explanation Solved by verified expert
4.1 Ratings (536 Votes)
    See Answer
Get Answers to Unlimited Questions

Join us to gain access to millions of questions and expert answers. Enjoy exclusive benefits tailored just for you!

Membership Benefits:
  • Unlimited Question Access with detailed Answers
  • Zin AI - 3 Million Words
  • 10 Dall-E 3 Images
  • 20 Plot Generations
  • Conversation with Dialogue Memory
  • No Ads, Ever!
  • Access to Our Best AI Platform: Flex AI - Your personal assistant for all your inquiries!
Become a Member

Other questions asked by students