What is the difference between a python tuple and python list? Lists are indexed by integers and tuples are indexed by strings lists maintain the order of the items and tuples do not maintain order lists are mutable and tuples are not mutable tuples can be expanded after they are created and lists cannot?
Answers
Answered by
6
Answer:
The Key Difference between a List and a Tuple. The main difference between lists and a tuples is the fact that lists are mutable whereas tuples are immutable. A mutable data type means that a python object of this type can be modified. Let's create a list and assign it to a variable
Answered by
1
♤♠Hola Mate♠♤
♡♥Gud Mrng♥♡
✅✔Here Is Your Answer✔✅
The Key Difference between a List and a Tuple. The main difference between lists and a tuples is the fact that lists are mutable whereas tuples are immutable. A mutable data type means that a python object of this type can be modified. Let's create a list and assign it to a variable.
✏✒Best of luck
Hope this Will Help☑✓
☞☛FolloW Me✌
Similar questions