Загрузка...

DON'T OVERLOOK THIS When Working With Tuples and Lists!

Discover an intriguing aspect of Python tuples in this brief and informative video. We start with a simple tuple containing a string, an integer, and a list.

Though tuples are immutable, meaning their structure can't change, we demonstrate a surprising twist: the list inside the tuple can be modified. Watch as we attempt to change the integer (resulting in an error) and then successfully modify the list within the same tuple.

This video is perfect for Python learners who want a quick insight into the unique behaviors of Python's data structures.

Видео DON'T OVERLOOK THIS When Working With Tuples and Lists! канала Michael - Coding Tutor
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять