0 votes
119 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 91 views
0 votes
1 answer 117 views
0 votes
1 answer 148 views
0 votes
1 answer 149 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

504 users

...