- Популярные видео
- Авто
- Видео-блоги
- ДТП, аварии
- Для маленьких
- Еда, напитки
- Животные
- Закон и право
- Знаменитости
- Игры
- Искусство
- Комедии
- Красота, мода
- Кулинария, рецепты
- Люди
- Мото
- Музыка
- Мультфильмы
- Наука, технологии
- Новости
- Образование
- Политика
- Праздники
- Приколы
- Природа
- Происшествия
- Путешествия
- Развлечения
- Ржач
- Семья
- Сериалы
- Спорт
- Стиль жизни
- ТВ передачи
- Танцы
- Технологии
- Товары
- Ужасы
- Фильмы
- Шоу-бизнес
- Юмор
Mutable vs Immutable in Python (Explained Clearly) | How Variables Really Work | Python
In this video, we cover the concepts of mutable and immutable objects in Python along with how variables actually work. You’ll understand how Python uses references instead of storing values directly, and why changes affect some objects but not others.
We also explain the id() function to show how objects are stored in memory and how identity works in Python. Concepts like same object vs new object, list vs string behavior, and in-place vs new creation are demonstrated with simple and practical examples, so you clearly understand when and why things behave differently.
--------------------------------------------------------------
00:00 Introduction
00:49 Why Mutable vs Immutable is Confusing
02:19 How Variables Work in Python
05:12 id() Function in Python (Object Identity)
08:56 Mutability Explained (with Examples)
15:30 Immutability Explained (with Examples)
21:27 Practice Questions (Solve Yourself)
--------------------------------------------------------------
Python Data Structure course Playlist
https://www.youtube.com/playlist?list=PLOcvX_-nWwHdh0dgQIhwSbCN7XDK63edo
JSON full course playlist
https://www.youtube.com/playlist?list=PLOcvX_-nWwHcpHYhsgGqMoIctziJxnRdg
Tree data structure course playlist
https://www.youtube.com/playlist?list=PLOcvX_-nWwHeUDaYS5b0cIArxkEJUALaU
Code at Ease channel link
https://www.youtube.com/@CodeatEaseOfficial
--------------------------------------------------------------
#python
#mutableimmutable
#variableinpython
Видео Mutable vs Immutable in Python (Explained Clearly) | How Variables Really Work | Python канала Code at Ease
We also explain the id() function to show how objects are stored in memory and how identity works in Python. Concepts like same object vs new object, list vs string behavior, and in-place vs new creation are demonstrated with simple and practical examples, so you clearly understand when and why things behave differently.
--------------------------------------------------------------
00:00 Introduction
00:49 Why Mutable vs Immutable is Confusing
02:19 How Variables Work in Python
05:12 id() Function in Python (Object Identity)
08:56 Mutability Explained (with Examples)
15:30 Immutability Explained (with Examples)
21:27 Practice Questions (Solve Yourself)
--------------------------------------------------------------
Python Data Structure course Playlist
https://www.youtube.com/playlist?list=PLOcvX_-nWwHdh0dgQIhwSbCN7XDK63edo
JSON full course playlist
https://www.youtube.com/playlist?list=PLOcvX_-nWwHcpHYhsgGqMoIctziJxnRdg
Tree data structure course playlist
https://www.youtube.com/playlist?list=PLOcvX_-nWwHeUDaYS5b0cIArxkEJUALaU
Code at Ease channel link
https://www.youtube.com/@CodeatEaseOfficial
--------------------------------------------------------------
#python
#mutableimmutable
#variableinpython
Видео Mutable vs Immutable in Python (Explained Clearly) | How Variables Really Work | Python канала Code at Ease
mutable vs immutable python python variables explained python memory model python references python id function id() in python python basics for beginners python tutorial for beginners python list vs int behavior mutable vs immutable example python python concepts explained python variables how they work python programming basics learn python step by step python beginners guide python data types python list mutability python string immutability
Комментарии отсутствуют
Информация о видео
28 апреля 2026 г. 9:30:13
00:21:59
Другие видео канала




![[#6] JSON using Python | JSON | How To Use JSON In Python](https://i.ytimg.com/vi/D_N9ghUntdU/default.jpg)






![[#1] JSON | Introduction and Syntax | Getting Started with JSON](https://i.ytimg.com/vi/aw7nFcDIxCg/default.jpg)
![[#5] JSON | Applications of JSON | APIs, NoSQL Databases, and Configuration Files](https://i.ytimg.com/vi/JIJFX5ZapD0/default.jpg)








