+ 1

What is the Difference between List and Tuple?

I know but make me Clear

29th Mar 2021, 4:11 AM
AMAN DHIMAN
AMAN DHIMAN - avatar
5 Answers
+ 3
Tuple is can't change values List is can change values
29th Mar 2021, 4:21 AM
Isabella
Isabella - avatar
+ 2
We can conclude that although both lists and tuples are data structures in Python, there are remarkable differences between the two, with the main difference being that lists are mutable while tuples are immutable. A list has a variable size while a tuple has a fixed size. Operations on tuples can be executed faster compared to operations on lists.
29th Mar 2021, 6:43 AM
Scarlet Witch
Scarlet Witch - avatar
+ 1
Jan Markus thanks to provide a link related to this question But I need simple and easy way to understand. really, now mh understand through that link you provided me 😀
29th Mar 2021, 4:20 AM
AMAN DHIMAN
AMAN DHIMAN - avatar
+ 1
Yup...
29th Mar 2021, 4:22 AM
AMAN DHIMAN
AMAN DHIMAN - avatar
+ 1
list are mutable tuple are inmutable
29th Mar 2021, 4:22 AM
Alfonso FarĂ­as
Alfonso FarĂ­as - avatar