How To Modify Global Variables Inside The Function - Python Short Series Ep.118 #python #programming

preview_player
Показать описание
Hello Dear Coders,

In this Episode 118 of the Python Short Series, we will learn about the variables scope in python.

In this concise and engaging video, we'll learn what both global and local variables mean in python, and how we can create them. And we'll see how we can use them and manipulate them in our program without getting any error with the coding examples.
So stay tuned....

#python #programming #coding
Рекомендации по теме
Комментарии
Автор

Thanks for this. Can you give an example of when it would make sense for a global variable to be modified in a function? I normally pass variables into a function to avoid confusion.

alkebabish