Python Developer Question:
Download Job Interview Questions and Answers PDF
Tell me what is the difference between list and tuple?
Answer:
The difference between list and tuple is that list is mutable while tuple is not. Tuple can be hashed for e.g as a key for dictionaries.
Download Python Developer Interview Questions And Answers
PDF
Previous Question | Next Question |
Tell me what is docstring in Python? | How to copy an object in Python? |