Domanda di colloquio di Canoo

Why would the creators of Python create list and tuple as 2 distinct data types?

Risposta di colloquio

Anonimo

19 ott 2021

Given the interview was for a Deputy CISO position, I was focused on the security-related answer behind this question. After I was clearly not on the right track answering this question, the interviewer shared that "performance" was the answer he was looking for. I admit I should have known the answer here, but this caught me off guard given the role I was applying for.