0 votes
238 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 202 views
0 votes
1 answer 187 views
0 votes
1 answer 250 views
0 votes
1 answer 275 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

588 users

...