What is difference between List and tuples in python ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 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 ???

24th Jan 2018, 9:45 AM
Saurabh Zinjad
Saurabh Zinjad - avatar
5 Answers
+ 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
24th Jan 2018, 10:09 AM
Nithiwat
Nithiwat - avatar
+ 1
Here is my primer on *args in Python - hope you find it useful! https://code.sololearn.com/cce88fWlK7L7/?ref=app
26th Apr 2018, 6:25 PM
Johannes
Johannes - avatar
0
update features are differences here. we can update list elements.
25th Jan 2018, 12:07 AM
Morteza Omidipoor
Morteza Omidipoor - avatar
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
30th Jan 2018, 7:30 PM
Ali El Makhoukhi
Ali El Makhoukhi - avatar