OOP, comprehensions, error handling, and modules
What is a list comprehension in Python?
What is the difference between *args and **kwargs?
What is the purpose of the __init__ method in Python classes?
Which statement correctly handles exceptions in Python?
What is a lambda function in Python?
What is the difference between shallow copy and deep copy?
What does the @staticmethod decorator do?
What is the difference between @staticmethod and @classmethod?
What is the purpose of the "with" statement in Python?
What is a Python module?
What is the difference between append() and extend() for lists?
What is the Global Interpreter Lock (GIL) in Python?
What does the map() function do in Python?
What is the difference between __str__ and __repr__?
What is the filter() function used for?
What are Python virtual environments used for?
What is the reduce() function used for?