Tuple unpacking in Python











############################# Video Source: www.youtube.com/watch?v=Phw9k6x9sO8

Instead of using hard-coded indices to get tuple elements, use tuple unpacking to give descriptive names to each item. Important items should have a name instead of a number. • Read an article version of this video at https://pym.dev/tuple-unpacking/ • Find more Python screencasts at https://pym.dev/screencasts/ • 00:00 An alternative to hard-coded indexes • 01:17 Unpacking without an equals sign • 02:45 Use tuple unpacking as a descriptive alternative to indexing

#############################









Content Report
Youtor.org / Youtor.org Torrents YT video Downloader © 2024

created by www.mixer.tube