#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. To get some more practice, I put together two smaller exercises, or bites, and one bigger co-challenge.
0:12
This one, you will recognize the name's list but it's a little different because you have to take duplicate names out
0:18
and sort the names and find the shortest first name and, of course, you will be using this comprehensions. Secondly, what we did not touch upon,
0:28
is dictionary comprehensions, so, you might look that up and go through bite 26, where you have to do some operations on this dictionary
0:39
and this set using a dictionary comprehension. And the co-challenge is Generators for Fun and Profit, a challenge we run some time ago.
0:47
And this will be a fun one because you have to turn this Unix pipline into multiple generators. So, I think that's a great way to get some
0:55
more practice using generators. Three exercises, see how far you can get during this third day of this lesson and, of course, share your work.
1:04
Put a tweet out with #100DaysOfCode. It's a great way to get visibility of your work and, of course, we'll be happy to see
1:12
how you progressed this section. Good luck. Have fun. Keep calm and code in Python.