1 00:00:00,960 --> 00:00:10,380 Hello and welcome to this lecture of our coast dictionary dictionary is group of peers of that value 2 00:00:10,840 --> 00:00:26,460 HB have two parts Dick Cheney K and that value k 1 semicolon k 1 column Value 1 8 2 column value 2 examine 3 00:00:27,270 --> 00:00:30,940 user name and call color equal. 4 00:00:30,990 --> 00:00:36,030 David Cole on red zone called Green. 5 00:00:36,250 --> 00:00:38,660 Sara Cole on yellow. 6 00:00:38,680 --> 00:00:42,650 In order to clear the dictionary we use vector method. 7 00:00:42,760 --> 00:00:46,580 Use a user name and call color. 8 00:00:46,810 --> 00:00:48,460 Equal deck of amenities. 9 00:00:48,470 --> 00:00:52,690 David equal Red John equal green Sara. 10 00:00:53,050 --> 00:00:53,880 Equal yellow. 11 00:00:53,970 --> 00:00:56,990 You would get up in curly bracket. 12 00:00:57,400 --> 00:01:01,560 David between two double codes. 13 00:01:01,590 --> 00:01:04,360 Column between two double quotes. 14 00:01:04,930 --> 00:01:07,010 Zone between two double codes. 15 00:01:07,040 --> 00:01:17,230 Column green between two double quotes comma Sara between two double quotes column yellow between two 16 00:01:17,290 --> 00:01:24,070 double quotes close Curly back in order to add a new item and the range is updated dictionary user name 17 00:01:24,100 --> 00:01:34,750 and core color gay equal black end user name and car color great black David Red John Green Sara yellow. 18 00:01:34,930 --> 00:01:43,200 In order to remove item with K equal Kate and print dictionary then user name and the car color. 19 00:01:43,220 --> 00:01:46,910 Kate Brent user name and the gold color David. 20 00:01:46,930 --> 00:01:50,550 Red Zone green Sara yellow gamble. 21 00:01:50,590 --> 00:01:52,710 Brent user name and gold color. 22 00:01:52,780 --> 00:01:53,430 David red. 23 00:01:53,440 --> 00:01:54,330 John Green. 24 00:01:54,370 --> 00:01:55,630 Sara yellow. 25 00:01:55,630 --> 00:01:56,740 In order to Brent. 26 00:01:56,770 --> 00:01:57,910 Item was gay. 27 00:01:58,180 --> 00:01:59,140 DAVID Good. 28 00:01:59,140 --> 00:02:01,120 As following Brent. 29 00:02:01,140 --> 00:02:02,950 User name and card color. 30 00:02:04,560 --> 00:02:07,050 In square brackets between travel codes. 31 00:02:07,050 --> 00:02:08,310 David Close. 32 00:02:08,310 --> 00:02:11,410 Square brackets close parenthesis. 33 00:02:11,490 --> 00:02:15,330 We will get red in order to Brent. 34 00:02:15,340 --> 00:02:18,930 Item was gay equal Sara quoted as following. 35 00:02:19,240 --> 00:02:21,550 Brent user name and card color. 36 00:02:21,580 --> 00:02:25,730 Sara yellow in honor to the modifies item. 37 00:02:26,110 --> 00:02:27,130 West gay. 38 00:02:27,140 --> 00:02:27,720 John. 39 00:02:27,760 --> 00:02:29,220 And friend dictionary. 40 00:02:29,260 --> 00:02:31,250 User name and card color. 41 00:02:31,630 --> 00:02:33,770 John equal white. 42 00:02:33,850 --> 00:02:34,180 Brent. 43 00:02:34,190 --> 00:02:37,630 User name and gold color David. 44 00:02:38,050 --> 00:02:39,340 Red dictionary. 45 00:02:39,380 --> 00:02:42,370 Not get written is a value for as a given case. 46 00:02:42,490 --> 00:02:50,980 If the game is not found elsewhere returns the keyword none Jambo user name and the card color equal 47 00:02:51,400 --> 00:02:53,010 of an income bracket. 48 00:02:53,020 --> 00:03:02,560 David between two rival codes column read between two double codes coma zone colon green Sara column 49 00:03:03,010 --> 00:03:07,140 yellow print user name and call color. 50 00:03:07,150 --> 00:03:10,560 We will get David Red John Green Sara yellow. 51 00:03:10,690 --> 00:03:14,340 Brent user name and gold color dot get John. 52 00:03:14,590 --> 00:03:16,510 We will get green. 53 00:03:16,600 --> 00:03:19,330 User name and gold color David. 54 00:03:19,360 --> 00:03:22,110 Red Zone green Sara. 55 00:03:22,450 --> 00:03:23,720 Yellow Green. 56 00:03:23,740 --> 00:03:26,800 User name and gold color David. 57 00:03:26,890 --> 00:03:28,630 Red Zone green. 58 00:03:28,630 --> 00:03:29,930 Sara yellow. 59 00:03:29,960 --> 00:03:32,480 End user name and gold color. 60 00:03:32,560 --> 00:03:33,300 Get gate. 61 00:03:33,340 --> 00:03:35,160 We will get none. 62 00:03:35,170 --> 00:03:42,420 Dictionary dot that it deletes a whole dictionary Zambian user name and the gold color David red zone 63 00:03:42,450 --> 00:03:42,820 Green. 64 00:03:42,860 --> 00:03:49,540 Sorry user name and the code color to tell Ben to use a name and call color. 65 00:03:49,540 --> 00:03:55,500 We will get named arrow name text is not defined exciting. 66 00:03:55,550 --> 00:04:02,550 The guided missiles into enemy of all elements of the dictionary you're sending an empty diction exam 67 00:04:02,560 --> 00:04:10,270 the user name and the car color David's red zone green side user name and the car color. 68 00:04:10,270 --> 00:04:14,780 Got it Brent user name and car color. 69 00:04:14,780 --> 00:04:21,120 We will get Bob and Cadillac Records Carlos Kelly brick dictionary and metal. 70 00:04:21,140 --> 00:04:28,160 We use it to check if an item in a dictionary Zambian user name and the gold color David's red zone 71 00:04:28,160 --> 00:04:29,810 green Sara yellow. 72 00:04:29,900 --> 00:04:30,940 Use it on. 73 00:04:31,230 --> 00:04:36,780 David and user name and gold color through it and use a name and gold color. 74 00:04:37,030 --> 00:04:45,800 Folks use it on very examine user name on the card Garner equipped David. 75 00:04:45,800 --> 00:04:47,180 Red Zone green. 76 00:04:47,180 --> 00:04:48,880 Sara yellow red. 77 00:04:48,880 --> 00:04:50,820 In user name and call color. 78 00:04:50,930 --> 00:04:58,350 Value through black end user name and called Color dot value equal. 79 00:04:58,430 --> 00:05:07,000 We will get forward's dictionary that items we use it to return address of addiction is theirs as durable 80 00:05:07,900 --> 00:05:10,270 example user name and the card color. 81 00:05:10,340 --> 00:05:11,170 David red. 82 00:05:11,270 --> 00:05:12,010 John Green. 83 00:05:12,020 --> 00:05:15,600 Sara L. user name and the card color. 84 00:05:15,890 --> 00:05:18,760 We will get that underscored item. 85 00:05:18,880 --> 00:05:26,780 David rate of averages is often great but I kind of embrace this is David good call. 86 00:05:26,970 --> 00:05:31,360 Read between because those parentheses Oh obsolete. 87 00:05:31,740 --> 00:05:41,700 When that was the list of a list of ice exchanges that land use it dictionary that lands method we use 88 00:05:41,700 --> 00:05:45,070 it to calculate the number of items in addiction. 89 00:05:45,070 --> 00:05:56,400 An example here monsters equal up in kernel apprentices urban currently bracket January column 1 worry 90 00:05:56,970 --> 00:06:09,030 call him to Mars column 3 pre column for me column 5 June column 6 July column 7 August columns 8 September 91 00:06:09,030 --> 00:06:19,050 column 9 October column 10 November column 7 December column twelve Brent oblivion tosses Len form in 92 00:06:19,050 --> 00:06:29,220 parentheses here underscore months is close but a close second the balances close the first parentheses 93 00:06:30,060 --> 00:06:36,360 we will get twelve dictionary that update method we use this to add. 94 00:06:36,390 --> 00:06:39,740 And dictionaries K various players to another. 95 00:06:39,750 --> 00:06:48,840 The lubricates are removed December year munchies January 1 February column to march column 3 separate 96 00:06:49,260 --> 00:06:58,620 column for me column fire zone column 6 second six year monsters equal of being called back in July 97 00:06:58,650 --> 00:07:03,160 column 7 August column 8 September column 9. 98 00:07:03,270 --> 00:07:06,480 October column 10 November column eleven. 99 00:07:06,600 --> 00:07:10,790 December column will close curly bracket here. 100 00:07:11,000 --> 00:07:15,010 Months of the year under school bounces. 101 00:07:15,090 --> 00:07:23,110 Update Bob in parentheses second underscore six underscore year under his command says close parentheses. 102 00:07:23,370 --> 00:07:27,120 We will get after Brent to your masters. 103 00:07:27,270 --> 00:07:31,350 January 1 February autumn 2 to march column 3. 104 00:07:31,350 --> 00:07:37,610 A brutal column for April column for May column 5. 105 00:07:37,620 --> 00:07:42,980 June column 6 July column 7 August column in September column 9. 106 00:07:43,260 --> 00:07:44,490 Tobar column 10. 107 00:07:44,640 --> 00:07:47,010 November column twelve. 108 00:07:47,070 --> 00:07:48,560 November column eleven. 109 00:07:48,750 --> 00:07:50,240 December column to us. 110 00:07:50,420 --> 00:07:53,030 Brent six years here. 111 00:07:53,220 --> 00:07:55,380 Brent six years. 112 00:07:55,380 --> 00:07:57,770 Months of July column seven. 113 00:07:57,780 --> 00:07:59,030 August column eight. 114 00:07:59,130 --> 00:08:00,470 September column nine. 115 00:08:00,480 --> 00:08:04,610 October column in November column every December column twelve. 116 00:08:04,980 --> 00:08:12,090 So there is no change in a second six year months diction and dictionary got value. 117 00:08:12,210 --> 00:08:20,970 This will return list of dictionaries value year a month is equal and curly bracket January 1 February 118 00:08:21,150 --> 00:08:25,840 column to march column C. April column for May column five. 119 00:08:26,010 --> 00:08:31,430 June column 6 July column 7 August column 8 September column 9. 120 00:08:31,440 --> 00:08:32,680 Tobar column 10. 121 00:08:32,790 --> 00:08:33,540 November column. 122 00:08:33,550 --> 00:08:42,300 Levin December column twelve here underscore amongst us good value dict underscore values. 123 00:08:42,320 --> 00:08:45,850 Open parenthesis open square brackets. 124 00:08:46,020 --> 00:08:56,790 One two three four five six seven eight nine ten eleven to a close square bracket close parentheses. 125 00:08:56,790 --> 00:09:02,420 So it will give us the values of our declining shadowed case. 126 00:09:02,490 --> 00:09:05,820 We use it to return list of dictionaries. 127 00:09:05,960 --> 00:09:07,010 K December. 128 00:09:07,140 --> 00:09:08,910 Here months is equal. 129 00:09:08,910 --> 00:09:13,050 January 1 February column to march column 3. 130 00:09:13,050 --> 00:09:15,660 A great column for me column 5. 131 00:09:15,660 --> 00:09:17,910 June column 6 July column 7. 132 00:09:17,940 --> 00:09:20,840 August column 8 September column 9 Tobar. 133 00:09:20,850 --> 00:09:29,460 Column in November column never December column two here months is the case decked underscore case Bob 134 00:09:29,500 --> 00:09:32,210 in parentheses hopping province square bracket. 135 00:09:32,280 --> 00:09:39,900 January February March April May June July August September October November December. 136 00:09:39,920 --> 00:09:43,010 Close square bracket close parentheses. 137 00:09:43,050 --> 00:09:50,750 Let's try our lines of code and Joby turn notebook user name and the card color David red zone green. 138 00:09:50,760 --> 00:09:53,510 Sara yellow shift the entire 139 00:09:56,530 --> 00:09:58,450 user name and card color. 140 00:09:58,530 --> 00:10:00,010 Kate equal black. 141 00:10:00,060 --> 00:10:00,970 Jeff to enter. 142 00:10:01,010 --> 00:10:02,120 Brent use a name. 143 00:10:02,140 --> 00:10:05,450 And the card color their user name and the card color. 144 00:10:05,490 --> 00:10:08,030 Kate Brent user name and the card color. 145 00:10:11,010 --> 00:10:15,160 Kate will be deleted with the valuable print user name. 146 00:10:15,160 --> 00:10:18,040 Carol David we will get red. 147 00:10:18,060 --> 00:10:20,100 Brent user name and the card color. 148 00:10:20,100 --> 00:10:22,850 Sara we will get yellow. 149 00:10:22,860 --> 00:10:25,350 Brent user name and card color. 150 00:10:25,350 --> 00:10:28,670 John we will get green. 151 00:10:28,710 --> 00:10:31,710 Brent user name and the card color dot get John 152 00:10:37,080 --> 00:10:41,310 user car color dot get Kate. 153 00:10:41,340 --> 00:10:48,820 We will get none because we have deleted Kate and its value blank. 154 00:10:50,570 --> 00:10:53,200 David in user name and the car color. 155 00:10:54,070 --> 00:11:03,670 Through gate and user name and the car color falls red in user name and the car color good value through 156 00:11:06,630 --> 00:11:09,830 black in user name and the car colors the value 157 00:11:16,650 --> 00:11:19,610 user name and decode color dot clear 158 00:11:22,630 --> 00:11:24,760 this will delete the whole doctrine. 159 00:11:25,510 --> 00:11:30,990 So after that we will grant our community which is empty. 160 00:11:31,100 --> 00:11:33,650 User name and record color is red. 161 00:11:33,650 --> 00:11:37,010 John Green sorry yellow user name and called Color dot. 162 00:11:37,020 --> 00:11:37,390 Bob. 163 00:11:37,460 --> 00:11:45,360 Sean we will get green user name and the color color. 164 00:11:45,500 --> 00:11:48,390 David Red John Green saw yellow. 165 00:11:48,680 --> 00:11:59,360 User name and the color color the items we will get decked underscore items of imbalances of in square 166 00:11:59,360 --> 00:12:10,230 brackets of in parenthesis of in parentheses David and Red Cross parenthesis comma in parentheses zone 167 00:12:10,260 --> 00:12:18,970 and the green close parenthesis comma 0 in parentheses start and yellow close parentheses close square 168 00:12:18,980 --> 00:12:20,950 brackets close parentheses. 169 00:12:21,040 --> 00:12:28,250 This is achievable of a list of sweet universals of our case and values. 170 00:12:28,250 --> 00:12:29,690 Thank you for watching. 171 00:12:29,690 --> 00:12:32,030 Hope you enjoyed this lecture. 172 00:12:32,030 --> 00:12:33,560 See you next lecture.