Positional vs keyword function arguments in Python

Pubblicato il: 14 novembre 2022
sul canale di: Python Morsels
671
22

When you're working with named arguments (a.k.a. keyword arguments) it's the argument name that matters. When you're working with positional arguments, it's the position matters (but not the name).

Read an article version of this video at https://pym.dev/positional-vs-keyword...

Find more Python screencasts at https://pym.dev/screencasts/

00:00 Positional arguments
00:34 Keyword arguments (a.k.a. named arguments)
01:03 The order of keyword arguments doesn't matter
01:40 Using keyword arguments instead of positional arguments
02:41 Python has both positional and named arguments


In questa pagina del sito puoi guardare il video online Positional vs keyword function arguments in Python della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Python Morsels 14 novembre 2022, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 671 volte e gli è piaciuto 22 spettatori. Buona visione!