Python Tricks: Unpacking tuples, lists, and other iterators

Опубликовано: 09 Апрель 2017
на канале: Sebastiaan Mathôt
5,762
153

[https://www.buymeacoffee.com/cogsci] Iterator unpacking (or multiple assignment) is a powerful Python technique in which there are multiple variables on the left-hand side of assignment (like so: x, y = 1 2). Iterator unpacking is incredibly powerful, and in this video I show all the ways in which it can be used.


Смотрите видео Python Tricks: Unpacking tuples, lists, and other iterators онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Sebastiaan Mathôt 09 Апрель 2017, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 5,762 раз и оно понравилось 153 людям.