MulaiMulai sekarang secara gratis

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?

Latihan ini adalah bagian dari kursus

Intermediate Python for Developers

Lihat Kursus

Latihan interaktif praktis

Ubah teori menjadi tindakan dengan salah satu latihan interaktif kami.

Mulai berolahraga