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
On this page of the site you can watch the video online Tuple unpacking in Python with a duration of hours minute second in good quality, which was uploaded by the user Python Morsels 27 March 2023, share the link with friends and acquaintances, this video has already been watched 1,449 times on youtube and it was liked by 36 viewers. Enjoy your viewing!