Filter interviews by
I applied via campus placement at Delhi College of Engineering (DCE), Delhi and was interviewed in Sep 2023. There were 2 interview rounds.
List is mutable, ordered collection of items while tuple is immutable, ordered collection of items in Python.
List is defined using square brackets [] while tuple is defined using parentheses ().
Elements in a list can be changed or modified while elements in a tuple cannot be changed.
Lists are typically used for collections of similar items while tuples are used for fixed collections of items.
Example: list_example = [1,
Tuple is immutable, list is mutable in Python.
Tuple elements cannot be changed once assigned, while list elements can be modified.
Tuple uses parentheses () and list uses square brackets [] for declaration.
Example: tuple_example = (1, 2, 3) vs list_example = [1, 2, 3]
Pizza business case study
Top trending discussions
based on 2 interviews
Interview experience
Analyst
57
salaries
| ₹7.8 L/yr - ₹22 L/yr |
Associate Analyst
46
salaries
| ₹6.2 L/yr - ₹15 L/yr |
Senior Analyst
46
salaries
| ₹17 L/yr - ₹28 L/yr |
Data Analyst
21
salaries
| ₹8 L/yr - ₹16 L/yr |
Manager
12
salaries
| ₹29.5 L/yr - ₹50 L/yr |
Air India
InterGlobe Aviation
Spicejet
Vistara