1
00:00:00,120 --> 00:00:04,730
Hey guys, welcome to Day 26 of 100 Days of Code. Today

2
00:00:04,820 --> 00:00:08,480
we're going to be learning all about lists and dictionary comprehensions.

3
00:00:08,900 --> 00:00:12,500
This is something that's actually really unique to the Python language,

4
00:00:12,890 --> 00:00:16,970
and it's something that's going to cut down on a lot of the code that we have to

5
00:00:16,970 --> 00:00:20,030
write when we're working with lists and dictionaries.

6
00:00:20,630 --> 00:00:22,100
And by the end of today,

7
00:00:22,280 --> 00:00:27,260
we will build a project to use the NATO phonetic alphabets so that

8
00:00:27,260 --> 00:00:31,490
we can spell out various things on the telephone. For example,

9
00:00:31,490 --> 00:00:33,920
whenever you need to give your name and you have to spell it out,

10
00:00:34,220 --> 00:00:36,260
they might not hear which letter you said.

11
00:00:36,320 --> 00:00:38,840
So normally you'll say something like A

12
00:00:38,840 --> 00:00:41,450
for alpha, n for november, g for golf.

13
00:00:41,930 --> 00:00:46,550
This is what we're aiming to create; a program that works in the console

14
00:00:46,910 --> 00:00:51,350
and it allows us to enter a word. So for example, I just put in my name

15
00:00:51,410 --> 00:00:55,310
which I happen to have to spell on the phone many times and I hit enter,

16
00:00:55,550 --> 00:01:00,550
then it'll return a list of all of the NATO phonetic alphabet that matches each

17
00:01:00,980 --> 00:01:02,810
of the letters in my name

18
00:01:03,020 --> 00:01:06,440
so I can just read it out to the other person over the phone, alpha,

19
00:01:06,440 --> 00:01:08,570
november, golf, echo, Lima, alpha.

20
00:01:09,290 --> 00:01:13,580
And that way I can use this little tool and be able to spell any word I want

21
00:01:13,820 --> 00:01:16,160
easily using the NATO phonetic alphabet.

22
00:01:16,400 --> 00:01:21,350
So I hope you're excited to learn about this big topic of comprehensions, and

23
00:01:21,380 --> 00:01:24,620
once you're ready, head over to the next lesson, and let's get started.

