0 votes
132 views
in Python by (98.9k points)
edited
What is the difference between a list and a tuple in Python?

1 Answer

0 votes
by (98.9k points)
edited
Lists are mutable, meaning their elements can be modified, added, or removed. Tuples, on the other hand, are immutable and cannot be changed once created.

Related questions

0 votes
1 answer 109 views
0 votes
1 answer 126 views
0 votes
1 answer 158 views
0 votes
1 answer 182 views

Doubtly is an online community for engineering students, offering:

  • Free viva questions PDFs
  • Previous year question papers (PYQs)
  • Academic doubt solutions
  • Expert-guided solutions

Get the pro version for free by logging in!

5.7k questions

5.1k answers

108 comments

531 users

...