- Популярные видео
- Авто
- Видео-блоги
- ДТП, аварии
- Для маленьких
- Еда, напитки
- Животные
- Закон и право
- Знаменитости
- Игры
- Искусство
- Комедии
- Красота, мода
- Кулинария, рецепты
- Люди
- Мото
- Музыка
- Мультфильмы
- Наука, технологии
- Новости
- Образование
- Политика
- Праздники
- Приколы
- Природа
- Происшествия
- Путешествия
- Развлечения
- Ржач
- Семья
- Сериалы
- Спорт
- Стиль жизни
- ТВ передачи
- Танцы
- Технологии
- Товары
- Ужасы
- Фильмы
- Шоу-бизнес
- Юмор
Why can you change a list but NOT a string? | Mutable vs Immutable | Python #Shorts #cbse #class12cs
Try to change a single letter in a Python string — and Python throws an error.
But lists allow such changes. Why? 👇
This Short explains:
→ What immutable means — and which types are immutable
→ What mutable means — and which types are mutable
→ The difference between re-assigning a variable and modifying an object
→ A full reference table of every type's mutability
Perfect for CBSE Class 11 & 12 Python revision.
─────────────────────────────────
CHAPTERS
─────────────────────────────────
0:05 Immutable: str throws a TypeError
0:24 Mutable: list — add and remove items live
0:41 Quick reference table — all types
─────────────────────────────────
RELATED VIDEOS
─────────────────────────────────
▶ Python Data Types Part 1 — Numbers
▶ Python Data Types Part 2 — Sequences
▶ Python Data Types Part 3 — Sets & Dicts
▶ Python Data Types Part 4 — bool
▶ Python Data Types Part 5 — None
─────────────────────────────────
PERFECT FOR
─────────────────────────────────
✔ CBSE Class 11 — Introduction to Python
✔ CBSE Class 12 — Review of Python
✔ Anyone learning Python from scratch
#Python #CBSE #Class11 #Class12 #PythonMutability
#Immutable #Mutable #PythonDataTypes #LearnPython
#PythonBeginners #CBSEComputerScience #Shorts #PythonTips
Видео Why can you change a list but NOT a string? | Mutable vs Immutable | Python #Shorts #cbse #class12cs канала CodeSchool
But lists allow such changes. Why? 👇
This Short explains:
→ What immutable means — and which types are immutable
→ What mutable means — and which types are mutable
→ The difference between re-assigning a variable and modifying an object
→ A full reference table of every type's mutability
Perfect for CBSE Class 11 & 12 Python revision.
─────────────────────────────────
CHAPTERS
─────────────────────────────────
0:05 Immutable: str throws a TypeError
0:24 Mutable: list — add and remove items live
0:41 Quick reference table — all types
─────────────────────────────────
RELATED VIDEOS
─────────────────────────────────
▶ Python Data Types Part 1 — Numbers
▶ Python Data Types Part 2 — Sequences
▶ Python Data Types Part 3 — Sets & Dicts
▶ Python Data Types Part 4 — bool
▶ Python Data Types Part 5 — None
─────────────────────────────────
PERFECT FOR
─────────────────────────────────
✔ CBSE Class 11 — Introduction to Python
✔ CBSE Class 12 — Review of Python
✔ Anyone learning Python from scratch
#Python #CBSE #Class11 #Class12 #PythonMutability
#Immutable #Mutable #PythonDataTypes #LearnPython
#PythonBeginners #CBSEComputerScience #Shorts #PythonTips
Видео Why can you change a list but NOT a string? | Mutable vs Immutable | Python #Shorts #cbse #class12cs канала CodeSchool
python mutable immutable python mutability python string immutable python list mutable mutable vs immutable python cbse class 11 python cbse class 12 python python data types python tuple immutable python dict mutable python set mutable python int immutable python for beginners cbse computer science python short video learn python mutability python object in place python re-assign variable python shorts
Комментарии отсутствуют
Информация о видео
1 июня 2026 г. 18:00:34
00:00:49
Другие видео канала







![Install Python in Linux: [Begin Python EP 01C]](https://i.ytimg.com/vi/H-_FymnIEZQ/default.jpg)
![Iterations / Loops [Begin Python EP 05]](https://i.ytimg.com/vi/DtlbKeEv0Dw/default.jpg)












![How to manage Files in Python [Begin Python Ep 07]](https://i.ytimg.com/vi/KwNqUKy4Lag/default.jpg)