List comprehension and generator expressions - Intermediate Python Programming p.4

Channel:
Subscribers:
1,410,000
Published on ● Video Link: https://www.youtube.com/watch?v=ZoWgzG_r2qo



Duration: 6:52
59,045 views
992


Welcome to part 4 of the intermediate Python programming tutorial series. In this part, we're going to talk about list comprehension and generators.

To begin, let's show a quick example and reason for both. A generator that is used commonly is Python 3's range() generator (Python 2's xrange).

https://pythonprogramming.net
https://twitter.com/sentdex
https://www.facebook.com/pythonprogramming.net/
https://plus.google.com/+sentdex







Tags:
list comprehension
generator
generator expression
python
python 3
tutorial
intermediate
introduction
programming