*args in Python - Functions in Python Part 6

Опубликовано: 20 Май 2026
на канале: Simple Easy Python
25
1

*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


На этой странице сайта вы можете посмотреть видео онлайн *args in Python - Functions in Python Part 6 длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Simple Easy Python 20 Май 2026, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 25 раз и оно понравилось 1 зрителям. Приятного просмотра!