Перейти к содержимому

Python for Beginners Ep 7 - Functions: def, return, args, kwargs, lambda | CodeGurukul

CodeGurukul

0:00 / 0:00

Python for Beginners Ep 7 - Functions: def, return, args, kwargs, lambda | CodeGurukul

4 просмотра · 2 нед. назад
CodeGurukul
19 подписчиков
4 просмотра · 2 нед. назад
Python for Beginners - Episode 7 (English). Functions: why we use them, def and calling, parameters vs arguments, return vs print, default values, keyword arguments, args and kwargs, returning many values, local vs global scope, the mutable default trap, docstrings, lambda, passing functions (key=len), guard clauses, functions calling functions, recursion, type hints, testing with assert, unpacking with * and **, functions that change a list you pass in, common mistakes, a word counter practice, and a clamp challenge. Previous: Ep 6 Dictionaries in Depth. Pause and try the clamp challenge yourself before moving on. All code runs in Python 3.9+. CodeGurukul - learn programming and AI step by step. #Python #PythonForBeginners #PythonFunctions #LearnPython #CodeGurukul