Python Tutorial for Beginners 2020 - Function Arguments and Global vs Local Variables.

preview_player
Показать описание
Hey guys, this is the seventh video for my Python's tutorial course for beginners. We will be covering all the basics about Python including installing and setting up the development environment, variables, data structures, iterations, conditionals, operators, error handlings, functions, classes and many more. The aim for this tutorial is to provide with a solid foundation layer for Python and programming in general so that we can proceed to more advanced level Python tutorials and also look into different application areas of using Python such as web development and data science.

In this video, we are going to talk about different types of function arguments and local vs global variables. In our last video, we've learned about the basic functionality and examples using required positional arguments, in this video we will go through different types of arguments such as default, keyword, and variable arguments such as *args and **kwargs.
Also in the second half of this video, we will talk about the local vs global variables with an example and a potential error scenario.
Toward the end of this video, we will have two examples that utilizes Python's built-in function input so that we can actually receive the function argument values from end users.

=============================================================

Timestamps:

00:00 Introduction
00:28 Positional Required Argument
03:34 Keyword Argument
05:14 Variable Arguments
08:40 Local vs Global Variables
12:27 Example One
14:15 Example Two

=============================================================

=============================================================

GitHub link:

=============================================================

Рекомендации по теме