WEBVTT

0
00:00.120 --> 00:04.730
Hey guys, welcome to Day 26 of 100 Days of Code. Today

1
00:04.820 --> 00:08.480
we're going to be learning all about lists and dictionary comprehensions.

2
00:08.900 --> 00:12.500
This is something that's actually really unique to the Python language,

3
00:12.890 --> 00:16.970
and it's something that's going to cut down on a lot of the code that we have to

4
00:16.970 --> 00:20.030
write when we're working with lists and dictionaries.

5
00:20.630 --> 00:22.100
And by the end of today,

6
00:22.280 --> 00:27.260
we will build a project to use the NATO phonetic alphabets so that

7
00:27.260 --> 00:31.490
we can spell out various things on the telephone. For example,

8
00:31.490 --> 00:33.920
whenever you need to give your name and you have to spell it out,

9
00:34.220 --> 00:36.260
they might not hear which letter you said.

10
00:36.320 --> 00:38.840
So normally you'll say something like A

11
00:38.840 --> 00:41.450
for alpha, n for november, g for golf.

12
00:41.930 --> 00:46.550
This is what we're aiming to create; a program that works in the console

13
00:46.910 --> 00:51.350
and it allows us to enter a word. So for example, I just put in my name

14
00:51.410 --> 00:55.310
which I happen to have to spell on the phone many times and I hit enter,

15
00:55.550 --> 01:00.550
then it'll return a list of all of the NATO phonetic alphabet that matches each

16
01:00.980 --> 01:02.810
of the letters in my name

17
01:03.020 --> 01:06.440
so I can just read it out to the other person over the phone, alpha,

18
01:06.440 --> 01:08.570
november, golf, echo, Lima, alpha.

19
01:09.290 --> 01:13.580
And that way I can use this little tool and be able to spell any word I want

20
01:13.820 --> 01:16.160
easily using the NATO phonetic alphabet.

21
01:16.400 --> 01:21.350
So I hope you're excited to learn about this big topic of comprehensions, and

22
01:21.380 --> 01:24.620
once you're ready, head over to the next lesson, and let's get started.