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?
Questo esercizio fa parte del corso
Intermediate Python for Developers
Esercizio pratico interattivo
Passa dalla teoria alla pratica con uno dei nostri esercizi interattivi
Inizia esercizio