MENU
CLOSE
NOTES
CONTACT
Source: 📖 Effective Python item 5
Avoid repeating blocks of code and logical expressions. As soon as this occurs, consider turning the expressions involved into helper functions to improve readability.
See also: