#100DaysOfCode in Python Transcripts
Chapter: Days 4-6: Collections module
Lecture: Third day: get more practice
Login or
purchase this course
to watch this video and the rest of the course contents.
0:00
Welcome back to the 100 days of Python,
0:02
and the third day of the collections module.
0:05
Now it's time to get some more practice yourself,
0:07
so I encourage you to try to use
0:10
the new collection's data types in your scripts.
0:13
We did the #100DaysOfCode ourselves
0:15
and we made a module index script
0:18
which lists all the modules we used
0:21
and the days we used them,
0:22
so you can go to our log and look up those days
0:25
and look at the scripts that used the collections
0:28
in one way or the other.
0:30
This was the script to identify if a tip
0:32
was already submitted to pytip,
0:34
and here we use the name namedtuple.
0:37
And this was the script I was just showed you
0:38
about the module indexer,
0:40
and here we used defaultdict and Counter.
0:43
So you can look at more examples
0:44
for where we used those data types,
0:46
but maybe you can refer to some of your code
0:48
to start using collections more.
0:51
And don't forget to mention 100 days of Python
0:54
when you tweet out your progress.
0:56
That's a great way to keep on track.
0:58
Good luck, enjoy, and remember,
1:01
keep calm and code in Python.