What is the difference between `list` and `tuple` in Python?
Answer Posted / 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 |
Post New Answer View All Answers
How would you convert a string into an int in python?
What is superclass and subclass in python?
What is private method in python?
Explain about multi threading on python?
Why pypy is faster than python?
What are the benefits of using python? What do you understand of pep 8?
Is geany free?
How do I run a py file in python shell?
What are python packages?
What are object methods?
what is random module will do in python and what are the functions we can apply on random module
Which is better for future java or python?
Explain the use of ternary operator in python?
How can I execute arbitrary python statements from c?
How can you sort a list?