Which Python web framework uses the “Don’t repeat yourself” principle?
- Django
- Flask
- Pyramid
- Tornado
Django is a Python web framework that follows the "Don't repeat yourself" (DRY) principle. DRY encourages developers to avoid duplicating code by providing reusable components and an organized structure.
Loading...
Related Quiz
- You have two sets, one containing all employees who attended a training session and another with employees who completed an online assessment. You want to find out who attended the training but did not complete the assessment. Which set operation would help?
- For supporting operations like obj[key], the class should define the _______ method.
- The ____ method in Pandas is used to drop specified labels from rows or columns.
- Given a scenario where a system should notify a user if the storage space goes below 5% or above 95%. Which of the following combinations of operators will be suitable for the condition?
- In Matplotlib, the ____ method is used to set the labels of the x-axis.