What is the difference between `list` and `tuple` in Python?
Answers were Sorted based on User's Feedback
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 |
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 |
What are domains and tuples?
What is raw string in python?
What is a docstring?
What is a static relationship?
How python supports encapsulation with respect to functions?
In Python, how do you remark numerous lines?
What is a class and super class?
Tell me what is dict and list comprehensions are?
What does %d do in python?
What are the attributes?
How is python interpreted language?
How will you merge two dictionaries in python?