Functions in Python: Scope, Arguments & Return

preview_player
Показать описание
【Online Courses】


This video introduces functions in Python. We start by defining a function. Then we explore the scope of variables and demonstrate how to call functions. Arguments are introduced. Functions might return an object. The coding challenge includes exception handling and fun with while loops.

*Chapters*
0:00 Introduction to Functions
0:53 Defining Functions
1:31 Calling Functions
1:57 Scope
2:25 Arguments
4:27 Return
5:23 Coding Challenge
7:38 Exception Handling
11:24 Build Small
17:21 Return Tuple

*The course*
This video belongs to the course "Python for DataScience", which introduces Python and its use in the context of data analysis, machine learning, and simulations.

*The channel*
YUNIKARN focuses on publishing educational content in applied statistics, mathematics, and data science. In these fields, programming skills have become essential. Hence, we cover various programming languages including Python, Stata, and C++ to tackle problems and for fun.

*Stay in touch*

*Hashtags*
#datascience #python #pythonprogramming
Рекомендации по теме