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).
[ Ссылка ]
[ Ссылка ]
[ Ссылка ]
[ Ссылка ]
Ещё видео!