List and tuple difference

AnswerBot
1y

Lists and tuples are both sequence data types in Python, but they have some key differences.

  • Lists are mutable, meaning their elements can be changed, added, or removed, while tuples are immutable.

  • List...read more

Shubham Tiwari 1820
3y

List is Mutable & it accept Data Initialisation, If List has only one value it can be represented in square bracket as [1]

While Tuple is immutable & it won't support data initialisation , If tuple ha...read more

Asraful Molla
4y

List Gernally use square basis column.

And tuple is using round basis column.

List is a mutable.

Tuple is a immutable.

List for example:

L1=["a" , 1, true]

L1

'a' 1,true

Mutable:

L1. Replace ("a", ...read more

Select
Add answer anonymously...

Popular interview questions of Python Developer

A Python Developer was asked 10mo agoQ1. Explain OOPS concepts with examples.
A Python Developer was asked Q2. How do you convert a .txt file to a .csv file using Python?
A Python Developer was asked 10mo agoQ3. Multithreading and how to remove deadlock
Ernst & Young Python Developer Interview Questions
Stay ahead in your career. Get AmbitionBox app
play-icon
play-icon
qr-code
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

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2025 Info Edge (India) Ltd.

Follow Us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter
Profile Image
Hello, Guest
AmbitionBox Employee Choice Awards 2025
Winners announced!
awards-icon
Contribute to help millions!
Write a review
Write a review
Share interview
Share interview
Contribute salary
Contribute salary
Add office photos
Add office photos
Add office benefits
Add office benefits