Pregunta de entrevista de Deloitte

What are Python's key features? What is the difference between a list and a tuple in Python? Explain list comprehensions with an example. How does memory management work in Python? What is the difference between deep copy and shallow copy? Explain the concept of Python decorators with an example. How does exception handling work in Python? What are lambda functions, and when would you use them? What is the difference between == and is in Python? How do you manage packages and dependencies in a Python project? Explain the use of Python’s with statement. What are Python generators, and how are they different from iterators? How does garbage collection work in Python? What is the GIL (Global Interpreter Lock), and how does it affect Python's multithreading?