Interviewer And Interviewee Guide

Python Interview Question:

When do you use list vs. tuple vs. dictionary vs. set?

Submitted by: Administrator
List and Tuple are both ordered containers. If you want an ordered container of constant elements use tuple as tuples are immutable objects.
Submitted by: Administrator

Read Online Python Job Interview Questions And Answers
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.