Positional vs keyword function arguments in Python

Publicado em: 14 Novembro 2022
no canal de: 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


Nesta página do site você pode assistir ao vídeo on-line Positional vs keyword function arguments in Python duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Python Morsels 14 Novembro 2022, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 671 vezes e gostou 22 espectadores. Boa visualização!