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?
This exercise is part of the course
Intermediate Python for Developers
Hands-on interactive exercise
Turn theory into action with one of our interactive exercises
Start Exercise