0 votes
181 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 159 views
0 votes
1 answer 155 views
0 votes
1 answer 188 views
0 votes
1 answer 216 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

558 users

...