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

Answers were Sorted based on User's Feedback



What is the difference between `list` and `tuple` in Python?..

Answer / nashiinformaticssolutions

Lists are mutable, meaning you can change their content after creation. Tuples are immutable and cannot be changed once defined.

Is This Answer Correct ?    0 Yes 0 No

What is the difference between `list` and `tuple` in Python?..

Answer / glibwaresoftsolutions

Lists are mutable, meaning you can change their content after creation. Tuples are immutable and cannot be changed once defined.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Python Interview Questions

What is web scraping? How do you achieve it in python?

1 Answers  


What is docstring in Python?

0 Answers  


What are functions in python?

0 Answers  


What are the optional statements that can be used inside a <try-except> block in python?

0 Answers  


What are migrations in python?

0 Answers  


Does apple use python?

0 Answers  


What is the best interpreter for python?

0 Answers  


What does code coverage mean?

0 Answers  


How will you uit the python?

0 Answers  


Can I use notepad ++ for python?

0 Answers  


Why do you need to make your code more readable?

0 Answers  


What super does in python?

0 Answers  


Categories