Python Extended Unpacking - Prevent "Too Many Values to Unpack" Error

Опубликовано: 12 Май 2021
на канале: codevev
900
32

#Python #Shorts

Any time there's an asterisk (*) sign in code, I get scared since typically it refers to pointers. Luckily, when you see a * in Python, one of the ways it is used is while "unpacking", if you want to set certain elements from an iterable to variables and keep using the rest as iterables. So, if you got a "Too Many Values to Unpack" error, watch this video and see how to get rid of it!
-------------------------------------------------------------------------------------
Links:
Blog: https://evgenyurubkov.com
Twitter:   / evgenyurubkov  
Instagram:   / evgenyurubkov  
Youtube:    / @codevev  


Смотрите видео Python Extended Unpacking - Prevent "Too Many Values to Unpack" Error онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь codevev 12 Май 2021, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 900 раз и оно понравилось 32 людям.