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 |
Can a constructor be final?
Can you sort a set in python?
Explain supported data types in python?
What is the use of lambda in python?
Why do computer scientists count from 0?
Which is faster python or c?
How do you perform pattern matching in python?
Does python support interfaces like java does?
Whenever python exists why does all the memory is not de-allocated / freed when python exits?
Explain about assertions in python?
Why python is called python?
Tell me how memcached should not be used in your python project?