0

when to use list and when to use tuple

is tuple better then list or vice-versa

4th Dec 2016, 12:19 PM
Sanju
Sanju - avatar
2 ответов
0
tuples are immutable=can't be modified and lists are mutable=can be edited/modified
4th Dec 2016, 1:27 PM
Nedim Kanat
Nedim Kanat - avatar
0
Tuples are faster, but immutable. Lists are muttable but slower.
22nd Feb 2017, 10:56 PM
Jan Bures
Jan Bures - avatar