L 40: GLOBAL VARIABLE VS LOCAL VARIABLE IN PYTHON | PYTHON COURSE FOR BEGINNERS

Опубликовано: 04 Октябрь 2024
на канале: Parnika Tutorials
422
20

Global Variables:
In Python, a variable declared outside of the function or in global scope is known as a global variable. This means that a global variable can be accessed inside or outside of the function.

Local Variables:
A variable declared inside the function's body or in the local scope is known as a local variable.
#globalvariable #python #parnikatutorials
00:00 - Introduction
00:23 - Local variable
01:11 - Global varaible
01:36 - Example 1
05:19 - How to modify the value of global variable
08:51- Globals
11:01 - Implementation in Jupyter Notebook
Website: www.parnikatutorials.in
Email id: [email protected]
To get the regular updates:
Telegram link: https://t.me/Parnikatutorials
Facebook: https://m.facebook.com/profile.php?id...
Linkedin:   / parnika-tutorials-a8a9831b2  
Pinterest:   / parnikatutorials0892  
Instagram:   / parnikatutorials  
Playlists:
Virtual Coffee with Jagadeesh:    • VIRTUAL COFFEE WITH JAGADEESH  
Digital Logic:    • ABOUT PARNIKA TUTORIALS  
Computer Organization and Architecture:    • ABOUT PARNIKA TUTORIALS  
C Programming:    • L 1: WHAT IS AN ALGORITHM AND CHARACT...  
Data Structures:    • L 1: Uncover the Benefits of Linked L...  
Theory of Computation:    • ABOUT PARNIKA TUTORIALS  
Compiler Design:    • ABOUT PARNIKA TUTORIALS  
Operating Systems:    • PROCESS STATE DIAGRAM | LONG TERM, SH...  
Databases:    • ABOUT PARNIKA TUTORIALS  
Computer Networks:    • ABOUT PARNIKA TUTORIALS  
For GATE PYQs and much more explore:    / parnikatutorials