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 is lambda function ?
Can constructor be private?
What is raw string in python?
What are variables in python?
How will you find, in a string, the first word that rhymes with ‘cake’?
You are having multiple memcache servers running python, in which one of the memcacher server fails, and it has your data, will it ever try to get key data from that one failed server?
What is python inheritance?
What is a singleton design pattern?
What is import in python?
Does the functions help() and dir() list the names of all the built_in functions and variables? If no, how would you list them?
Do python classes need init?
Is python an oops?