*args in Python - Functions in Python Part 6
*args let you accept an unlimited number of arguments while calling the function. Here the name args is not important, what is important is the star * which does all the work. Args (or whatever name you give) collects all the arguments in the form of a tuple and * unpacks the tuple into individual elements.
• Python Function
• Loops and Iteration
• Control Flow
Git: https://github.com/Prem-gzb/Python/bl...
00:00 Intro
00:11 Agenda
00:53 Function with fixed number of arguments
02:28 function with *args
05:46 Tuple unpacking
06:46 add function to accept user input
11:14 positional argument, default argument & *args together
15:02 Outro
#SimpleEasyPython #Python
In questa pagina del sito puoi guardare il video online *args in Python - Functions in Python Part 6 della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Simple Easy Python 20 maggio 2026, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 25 volte e gli è piaciuto 1 spettatori. Buona visione!