What is the difference between lists and tuples in Python? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 16

What is the difference between lists and tuples in Python?

Both stores python objects in sequence. But the value of items stored in lists can be changed while in tuples it can't be changed ( remains constant).

12th Nov 2019, 11:16 AM
~A~
1 Answer
12th Nov 2019, 11:24 AM
꧁༺ Jenspi ༻꧂
꧁༺ Jenspi ༻꧂ - avatar