Python Function : Positional and Named arguments | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

Python Function : Positional and Named arguments

I've just discovered in a book the function subject in Python but I have some difficulties to assimilate the differencies between positional and named arguments. Did someone can try to explain me ? Maybe another way to explain will be good for my comprehension of this subject. Thanks guys !

9th Nov 2021, 9:52 PM
Grégory Saison
Grégory Saison - avatar
1 Réponse
+ 1
Read through at least the first 4 answers in this link. You'll need to read those, at least, to get a decent explanation in this post. https://stackoverflow.com/questions/9450656/positional-argument-v-s-keyword-argument
9th Nov 2021, 10:26 PM
ChaoticDawg
ChaoticDawg - avatar