0 votes
221 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 192 views
0 votes
1 answer 180 views
0 votes
1 answer 238 views
0 votes
1 answer 257 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

572 users

...