Python 101 - Variables || Python Memory Model

preview_player
Показать описание
In this video, you guys will learn the couple of topics. First, is how to define variables in python. We will then dive into python memory model and how variables and objects are stored in memory and what CPython is. In the end, we will learn the pros and cons of being a dynamically typed language.

This video should hopefully give you guys a good understanding of variables in Python and how python stores data.

***Contents in the video***

00:00 - Intro
00:26 - What are variables?
00:41 - How to define variables in python
03:10 - Local Variable
04:16 - Global Variable
05:00 - Instance Variable
07:15 - Python memory model
09:33 - Example of Heap vs Stack
13:19 - What is dynamically typed language
15:56 - Ending

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

Why do some documents state that objects are memory space(a box that contains a value) at memory address. Or could I think a value like 3 an object(and its value is the same as object 3). Because it’s defined by built-in class int

ВисалИнг