In Python, List is a Mutable Data type because we can change the index value at run time also.Like:l=[1,2,3,4]l=[2]=18 print(l)output:[1,2,18,4]
Like:
l=[1,2,3,4]
l=[2]=18
print(l)
output:
[1,2,18,4]