Dictionary in Python

day_temperatures ={'morning':(1.1,2.2,3.4),'noon':(2.25,4.5,6.7),'evening':(3.3,4.5,6.5)}

Assign a dictionary variable day_temperatures.The dictionary should contain three keys ‘morning’,’noon’and evening and each key should containa tuple as value. each tuple should contain three floats.

 

 

It would be a great help, if you support by sharing :)
Author: zakilive

Leave a Reply

Your email address will not be published. Required fields are marked *