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?
Deze oefening maakt deel uit van de cursus
Intermediate Python for Developers
Praktische interactieve oefening
Zet theorie om in actie met een van onze interactieve oefeningen.
Begin met trainen