ComeçarComece de graça

Positional versus keyword arguments

In the video, you saw that functions can accept two different types of arguments: positional and keyword. They both have their uses, but understanding their distinct benefits helps you write clearer, more maintainable code.

When should you prefer using keyword arguments over positional arguments?

Este exercício faz parte do curso

Python intermediário para desenvolvedores

Ver curso

Exercício interativo prático

Transforme a teoria em ação com um de nossos exercícios interativos

Começar o exercício