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
In questa pagina del sito puoi guardare il video online Tuple unpacking in Python della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Python Morsels 27 marzo 2023, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 1,449 volte e gli è piaciuto 36 spettatori. Buona visione!