Difference between a list and a tuple. Explain a use case where you will use a tuple.

AnswerBot
2y
List vs Tuple and use case for Tuple
List is mutable while Tuple is immutable
List uses square brackets while Tuple uses parentheses
Tuple is used when data needs to be protected from modification
Tuple i...read more
Help your peers!
Add answer anonymously...
Stay ahead in your career. Get AmbitionBox app


Trusted by over 1.5 Crore job seekers to find their right fit company
80 L+
Reviews
10L+
Interviews
4 Cr+
Salaries
1.5 Cr+
Users
Contribute to help millions
AmbitionBox Awards
Get AmbitionBox app

