+ 2
What is difference between List and tuples in python ?
l learned both type ... but still I'm not getting why is there two different type which do same task. i know some of difference like tuples is faster than list and tuples are immutable while list is mutable but still want know deep subtlety ???
5 odpowiedzi
+ 18
python
Difference between lists and tuples in Python? - Net-Informations.Com
https://stackoverflow.com/q/626759
python - What's the difference between lists and tuples? - Stack ...
https://www.hacksparrow.com/python-difference-between-list-and-tuple.html
Python: difference between list and tuple - Hacksparrow
+ 1
Here is my primer on *args in Python - hope you find it useful!
https://code.sololearn.com/cce88fWlK7L7/?ref=app
0
update features are differences here. we can update list elements.
0
a list is mutable so you can change the values in the list. an tuple is a inmutable list and the values in it can't be changed