1. How do you define a function in Python?
2. What does `[1, 2, 3][0]` return?
3. True or False: Lists in Python are mutable.
4. What is the output of `d = {"a": 1}; print(d["a"])`?
5. How do you add an element to a list?
6. What does `try: x = 1/0 except: print("Error")` do?
7. What is `[x * 2 for x in [1, 2, 3]]`?
8. True or False: Tuples are immutable.
9. What is the output of `print({"a": 1}.get("b", 0))`?
10. What does `lambda x: x * 2` create?