What is the difference between lists and tuples in Python? | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
+ 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 Antwort
12th Nov 2019, 11:24 AM
꧁༺ Jenspi ༻꧂
꧁༺ Jenspi ༻꧂ - avatar