Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 679 Bytes

File metadata and controls

29 lines (19 loc) · 679 Bytes

Do Now 6.03

1. In your Console

Type the following

weekend_dates = {
  'April 2018': [7, 8, 14, 15, 21, 22, 28, 29],
  'May 2018': [5, 6, 12, 13, 19, 20, 26, 27]
}

print(weekend_dates['April 2018'])

In your Notebook

Respond to the following

  • What type is weekend_dates?
  • What type are the keys?
  • What type are the values?

2. In your Console

Challenge yourself with the following

  • The 2018 Memorial Day holiday is observed on Monday, May 28, which makes it a long-weekend day.
  • Write a new line of code that adds May 28th to the list associated with 'May 2018' so that its value becomes [5, 6, 12, 13, 19, 20, 26, 27, 28].