0
What is the difference between tuples and lists in Python?

Open 1 Answers 34 Views Technology

What is the difference between tuples and lists in Python?

1 Answer

0

The main differences between lists and tuples are − Lists are enclosed in brackets ( [ ] ) and their elements and size can be changed, while tuples are enclosed in parentheses ( ( ) ) and cannot be updated. Tuples can be thought of as read-only lists.

by (302k points)
...