Coders' Challenge Home Result Search

1. What is the purpose of Python's `lambda` function?




2. What is the purpose of the `__init__` method in Python classes?




3. What is the difference between a list and a tuple in Python?




4. How do you open a file in Python for reading and writing?




5. What is the purpose of the `try-except` block in Python?




6. What is the purpose of the `global` keyword in Python?




7. What is the purpose of the `__str__` method in Python?




8. What is the output of `print("Python"[::-1])`?




9. What is the purpose of the `super()` function in Python?




10. What is the purpose of the `__name__` variable in Python?