Python Immutable and Mutable Types

preview_player
Показать описание
Uses a schematic model to help explain immutable and mutable types in Python.
Рекомендации по теме
Комментарии
Автор

great ... Beautifully explained ... Thanks from India..

ananyasamal
Автор

Simple and objective. Thanks from Portugal.

manuelsilva
Автор

Very well explained ! Please continue to contribute :-)

johnwesley
Автор

Lovely....ur awesome and one of the best

dheerajneelam
Автор

Sir!!! So clearly you are explaining all these things. Very helpful 🤗... Please make some videos like this for Different datastructures like linked list, stack, queue, binary tree in python... It will be very useful for us. THANK YOU SO MUCH SIR.

krishu
Автор

so much clear and very sysinct! thanks

gemet
Автор

Great video! So, does the list store the actual ints or does it store addresses to where the ints reside in memory?
Thanks

munyafiction
Автор

Sir there is a question:
if :
first_number = 2
then can we say both these:
first_number is assigned 2
and
2 is assigned to variable first_number
?

zeeshanakram
Автор

list1=[1, 2, 3]
print(list1, id(list1))

list1=[4, 5, 6]
print(list1, id(list1))


[1, 2, 3] 140208946289992
[4, 5, 6] 140208946247048


the addresses are different. How do u explain that?

nkunam
Автор

can we say integers 2 and 5 are objects?

entertainclips
Автор

12:10 seems not correct! Print(Id(list[0])) before and after modifying the value. You will see different address.

rockstarchampion
Автор

list = [1, 2, 3]
print(id(list[0])) #prints 1849817008
list[0]=6
print(id(list[0])) # prints 1849817088

According to you this should give same address right??
then why this???

raghavendrasinghchouhan