Coding Now – Best AI & Full Stack Courses in Delhi NCR | 100% Placement
Limited Offer: Get 50% OFF on AI & Full Stack Courses
📞 Call Now: +91 9667708830
Home Community What is the difference between a list and a tuple in Python?

What is the difference between a list and a tuple in Python?

Coding Now Expert  •  Jun 13, 2026  •  180 views
Python is one of the most commonly asked Python basics interview questions.

A **list** is mutable (you can change its elements), while a **tuple** is immutable (cannot be changed after creation).

```python
my_list = [1, 2, 3] # Can be modified
my_tuple = (1, 2, 3) # Cannot be modified
```

Use tuples when data should not change (e.g., coordinates, RGB values). Lists are better when you need to add/remove items.
0

0 Answers

Your Answer

Will not be displayed publicly
💬 Talk to Advisor
1
WhatsApp

Latest from Our Blog

Insights on AI, Data Science, Full Stack & Career

View All Articles →