#100DaysOfCode in Python Transcripts
Chapter: Days 16-18: List comprehensions and generators
Lecture: Third day: more code challenges
Login or
purchase this course
to watch this video and the rest of the course contents.
0:00
Alright, you're almost there.
0:02
To get some more practice, I put together
0:04
two smaller exercises, or bites,
0:08
and one bigger co-challenge.
0:11
This one, you will recognize the name's list
0:14
but it's a little different
0:15
because you have to take duplicate names out
0:17
and sort the names and find the shortest first name
0:21
and, of course, you will be using this comprehensions.
0:24
Secondly, what we did not touch upon,
0:27
is dictionary comprehensions,
0:29
so, you might look that up
0:31
and go through bite 26, where you have to
0:34
do some operations on this dictionary
0:38
and this set using a dictionary comprehension.
0:41
And the co-challenge is Generators for Fun
0:44
and Profit, a challenge we run some time ago.
0:46
And this will be a fun one because you have to
0:48
turn this Unix pipline into multiple generators.
0:51
So, I think that's a great way to get some
0:54
more practice using generators.
0:56
Three exercises, see how far you can get
0:59
during this third day of this lesson
1:02
and, of course, share your work.
1:03
Put a tweet out with #100DaysOfCode.
1:06
It's a great way to get visibility of your work
1:09
and, of course, we'll be happy to see
1:11
how you progressed this section.
1:13
Good luck. Have fun. Keep calm and code in Python.