What is the difference between lists and tuples in Python? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 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 Resposta
12th Nov 2019, 11:24 AM
ź§ą¼ŗ Jenspi ą¼»ź§‚
ź§ą¼ŗ Jenspi ą¼»ź§‚ - avatar