H2K Infosys Forum

AI Assistant
What does the *args...
 
Notifications
Clear all

What does the *args and **kwargs syntax mean?

 
Member Moderator
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

*args allows a function to accept any number of positional arguments, while
**kwargs allows a function to accept any number of keyword arguments. These features make functions more flexible and dynamic, and they are essential concepts you’ll frequently work with when learning advanced Python through a python certification online program.


Quote
Topic starter Posted : 26/11/2025 5:39 am
Share: