What is the difference between `list` and `tuple` in Python?
Answer Posted / 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 View All Answers
What does exit () do in python?
What is sorted in python?
Which gui is best for python?
How do you parse a json file in python?
Python list of lists, changes reflected across sublists unexpectedly
Mention the floor division available in python
How to share global variables across modules?
Explain the //, %, and ** operators in python?
What is the difference between locals() and globals ()?
How do I quit python?
What are the rules for a local and global variable in python?
How do you sort a list in reverse order in python?
When you need ordered container of things, which will be manipulated, use lists?
What is py4j?
How do you get all values from a python dictionary?